From b83690ebd873abc29a3f365b0cc69125eb6021a1 Mon Sep 17 00:00:00 2001 From: tcitworld Date: Mon, 4 Aug 2014 21:34:44 +0200 Subject: removing examples for mpdf --- .../mpdf/examples/example52_lineheight.htm | 36 ---------------------- 1 file changed, 36 deletions(-) delete mode 100644 inc/3rdparty/libraries/mpdf/examples/example52_lineheight.htm (limited to 'inc/3rdparty/libraries/mpdf/examples/example52_lineheight.htm') diff --git a/inc/3rdparty/libraries/mpdf/examples/example52_lineheight.htm b/inc/3rdparty/libraries/mpdf/examples/example52_lineheight.htm deleted file mode 100644 index 73eca93a..00000000 --- a/inc/3rdparty/libraries/mpdf/examples/example52_lineheight.htm +++ /dev/null @@ -1,36 +0,0 @@ - - - - - -

Line-height & vertical alignment

-
In these examples, top and bottom padding are set to 0, so the block height = line height.
-
The inline text (set to a larger font-size) inherits the line-height as a factor of the largest font-size i.e. the line height will expand to reflect the largest font on the line.
-Line-height: "normal" (set in mPDF by default as 1.33).
-

Normal text 16pt font-size  and normal again

- -
Line-height: 2.0 When using relative line-heights, the text is aligned vertically so that the centre-line of the line goes throught the middle of the largest font.
-

Normal text 16pt font-size  and normal again

- -
Line-heights set as a percentages are computed on the base font-size, and are then inherited and treated the same as absolute lengths. This is also true for "em" values. The line-height of this line is set as 200% of the paragraph font-size (10pt).
-When using absolute line-heights, the text is aligned vertically so that the centre-line of the line goes throught the middle of the base font.
-This means that as far as possible, multiple lines will remain equally spaced
-Line-height: 200%
-

Normal text 16pt font-size  and normal again

- -
If the line includes a font-size greater than 1.6 times the computed line-height, then the text baseline is dropped so that the text will approximately fit within the line-height. -
Line-height: 2em
-

Normal text 18pt font-size  and normal again

- -
If the line includes a font-size greater than 2 times the computed line-height, then the line-height is increased to accommodate the larger fontsize.
-Line-height: 2em
-

Normal text 24pt font-size  and normal again

- - \ No newline at end of file -- cgit v1.2.3