In general, different fonts, different line measures (available space to
set a line), different properties (e.g., whether to use letter or word
spacing), all contribute to the setting of glyphs in a line. Usually, if no
letter spacing and no kerning applies, then a word is set on a glyph by
glyph basis according to the applicable font's glyph advancement per glyph
(a.k.a. character width per character in some contexts).

However, usually kerning is enabled by default, so one will also get
variation within a word, even with no letter spacing.

For line breaking and nominal word space calculation (when using justified
alignment mode), FOP uses a line breaking algorithm based on Knuth's
optimal paragraph breaking found in TeX.

What do you think is a problem?

On Thu, Jun 14, 2012 at 10:12 PM, Harshini Madurapperuma <> wrote:

> When FOP renders the PDF, how does it prints the line of text? Does it
> print letter by letter separately or just prints the whole sentence. And
> how does it creates the spaces between words? Because I noticed that it has
> different spaces of different font types and Also when the sentence is
> mixture of simple and Capital letter of the font Verdana (for an example),
> the spaces itself has a difference with in the sentence. Has anyone notice
> this issue and have any idea?
> **
> **

Reply via email to