On 11 Mar 2009, at 11:46, Maria2009 wrote:
Hi
Just some information for those few people who work with Chinese and
Japanese
fonts, I was encouraged to write this in the forum, so I apologize
to those
not being interested.
Thanks for sharing this. I'm sure there will be plenty of interested
folks out there.
Just FYI:
<snip />
(3) I have not yet come across cases where colons etc. start a new
line.
This is a problem that occurs frequently with text engines that are
not used
to East Asian texts. If this problem turns up, it needs to be solved.
Don't worry. This should normally never present itself. This is part
of the Unicode Annex#14 tailorable line-breaking rules that FOP
implements. (see: http://unicode.org/reports/tr14/#TailorableBreakingRules)
Technically: a colon (U+003A) has line-breaking class IS (numeric
separator), and UAX#14 does not permit breaks before that class by
default (LB13).
OTOH, if I understand correctly, basic UAX#14 does not cover all
Japanese line-breaking rules, so it may be that a native reader will
find the layout to be suboptimal, or will at least notice some
oddities in this area...
This all got me thinking: in the "normal" case, where letter-spacing
has its initial value, it should normally come from the font. I'll
have to check whether this means that either the font does not contain
this info, or maybe it's there but FOP does not find it in the place
it expects...
Regards
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]