summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2016-03-30 13:03:34 +0200
committerTor Andersson <tor.andersson@artifex.com>2016-03-31 13:00:23 +0200
commit2935d8dafbef7d44bc15c5554330a036f26d28ab (patch)
treed7a4d0703065004e98fa108c8abf5d8e6e9b9c49
parentb6f4a4448a2f84fd29f367ce294e7131e9c2b752 (diff)
downloadmupdf-2935d8dafbef7d44bc15c5554330a036f26d28ab.tar.xz
Clean up some whitespace.
-rw-r--r--source/html/html-layout.c62
1 files changed, 31 insertions, 31 deletions
diff --git a/source/html/html-layout.c b/source/html/html-layout.c
index 27292c13..852c7713 100644
--- a/source/html/html-layout.c
+++ b/source/html/html-layout.c
@@ -198,37 +198,37 @@ static void flush_space(fz_context *ctx, fz_pool *pool, fz_html *flow, fz_css_st
/* pair-wise lookup table for UAX#14 linebreaks */
static const char *pairbrk[29] =
{
-/* OCCQGNESIPPNAHIIHBBBZCWHHJJJR */
-/* PLPULSXYSROULLDNYAB2WMJ23LVTI */
- "^^^^^^^^^^^^^^^^^^^^^^^^^^^^^", /* OP open punctuation */
- "_^^%%^^^^%%_____%%__^^^______", /* CL close punctuation */
- "_^^%%^^^^%%%%%__%%__^^^______", /* CP close parenthesis */
- "^^^%%%^^^%%%%%%%%%%%^^^%%%%%%", /* QU quotation */
- "%^^%%%^^^%%%%%%%%%%%^^^%%%%%%", /* GL non-breaking glue */
- "_^^%%%^^^_______%%__^^^______", /* NS nonstarters */
- "_^^%%%^^^______%%%__^^^______", /* EX exclamation/interrogation */
- "_^^%%%^^^__%_%__%%__^^^______", /* SY symbols allowing break after */
- "_^^%%%^^^__%%%__%%__^^^______", /* IS infix numeric separator */
- "%^^%%%^^^__%%%%_%%__^^^%%%%%_", /* PR prefix numeric */
- "%^^%%%^^^__%%%__%%__^^^______", /* PO postfix numeric */
- "%^^%%%^^^%%%%%_%%%__^^^______", /* NU numeric */
- "%^^%%%^^^__%%%_%%%__^^^______", /* AL ordinary alphabetic and symbol characters */
- "%^^%%%^^^__%%%_%%%__^^^______", /* HL hebrew letter */
- "_^^%%%^^^_%____%%%__^^^______", /* ID ideographic */
- "_^^%%%^^^______%%%__^^^______", /* IN inseparable characters */
- "_^^%_%^^^__%____%%__^^^______", /* HY hyphens */
- "_^^%_%^^^_______%%__^^^______", /* BA break after */
- "%^^%%%^^^%%%%%%%%%%%^^^%%%%%%", /* BB break before */
- "_^^%%%^^^_______%%_^^^^______", /* B2 break opportunity before and after */
- "____________________^________", /* ZW zero width space */
- "%^^%%%^^^__%%%_%%%__^^^______", /* CM combining mark */
- "%^^%%%^^^%%%%%%%%%%%^^^%%%%%%", /* WJ word joiner */
- "_^^%%%^^^_%____%%%__^^^___%%_", /* H2 hangul leading/vowel syllable */
- "_^^%%%^^^_%____%%%__^^^____%_", /* H3 hangul leading/voewl/trailing syllable */
- "_^^%%%^^^_%____%%%__^^^%%%%__", /* JL hangul leading jamo */
- "_^^%%%^^^_%____%%%__^^^___%%_", /* JV hangul vowel jamo */
- "_^^%%%^^^_%____%%%__^^^____%_", /* JT hangul trailing jamo */
- "_^^%%%^^^_______%%__^^^_____%", /* RI regional indicator */
+/* -OCCQGNESIPPNAHIIHBBBZCWHHJJJR- */
+/* -PLPULSXYSROULLDNYAB2WMJ23LVTI- */
+ "^^^^^^^^^^^^^^^^^^^^^^^^^^^^^", /* OP open punctuation */
+ "_^^%%^^^^%%_____%%__^^^______", /* CL close punctuation */
+ "_^^%%^^^^%%%%%__%%__^^^______", /* CP close parenthesis */
+ "^^^%%%^^^%%%%%%%%%%%^^^%%%%%%", /* QU quotation */
+ "%^^%%%^^^%%%%%%%%%%%^^^%%%%%%", /* GL non-breaking glue */
+ "_^^%%%^^^_______%%__^^^______", /* NS nonstarters */
+ "_^^%%%^^^______%%%__^^^______", /* EX exclamation/interrogation */
+ "_^^%%%^^^__%_%__%%__^^^______", /* SY symbols allowing break after */
+ "_^^%%%^^^__%%%__%%__^^^______", /* IS infix numeric separator */
+ "%^^%%%^^^__%%%%_%%__^^^%%%%%_", /* PR prefix numeric */
+ "%^^%%%^^^__%%%__%%__^^^______", /* PO postfix numeric */
+ "%^^%%%^^^%%%%%_%%%__^^^______", /* NU numeric */
+ "%^^%%%^^^__%%%_%%%__^^^______", /* AL ordinary alphabetic and symbol characters */
+ "%^^%%%^^^__%%%_%%%__^^^______", /* HL hebrew letter */
+ "_^^%%%^^^_%____%%%__^^^______", /* ID ideographic */
+ "_^^%%%^^^______%%%__^^^______", /* IN inseparable characters */
+ "_^^%_%^^^__%____%%__^^^______", /* HY hyphens */
+ "_^^%_%^^^_______%%__^^^______", /* BA break after */
+ "%^^%%%^^^%%%%%%%%%%%^^^%%%%%%", /* BB break before */
+ "_^^%%%^^^_______%%_^^^^______", /* B2 break opportunity before and after */
+ "____________________^________", /* ZW zero width space */
+ "%^^%%%^^^__%%%_%%%__^^^______", /* CM combining mark */
+ "%^^%%%^^^%%%%%%%%%%%^^^%%%%%%", /* WJ word joiner */
+ "_^^%%%^^^_%____%%%__^^^___%%_", /* H2 hangul leading/vowel syllable */
+ "_^^%%%^^^_%____%%%__^^^____%_", /* H3 hangul leading/voewl/trailing syllable */
+ "_^^%%%^^^_%____%%%__^^^%%%%__", /* JL hangul leading jamo */
+ "_^^%%%^^^_%____%%%__^^^___%%_", /* JV hangul vowel jamo */
+ "_^^%%%^^^_%____%%%__^^^____%_", /* JT hangul trailing jamo */
+ "_^^%%%^^^_______%%__^^^_____%", /* RI regional indicator */
};
static void generate_text(fz_context *ctx, fz_pool *pool, fz_html *box, const char *text, struct genstate *g)