Summary: added regression to that shows
           Product: Fop
           Version: 0.95
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: fo tree

I added a regression to that shows a bug in font
shorthand capability.

We apparently have trouble handling the case where a quoted font follows an
unquoted font in the comma separated list of fonts.

Here is the case that fails:

     <fo:block font="xx-large/1.4 Arial, 'Times New Roman', sans-serif">
        <test:assert property="font-family" expected="[Arial, Times New Roman,
        <test:assert property="font-size" expected="20736mpt"/>
        <test:assert property="font-weight" expected="400" />
        <test:assert property="font-style" expected="NORMAL" />
        <test:assert property="line-height.optimum" expected="29030mpt" />
        <test:assert property="font-variant" expected="NORMAL" />
        Test font shorthand

The error message is the following:

Property 'font-family' expected to evaluate to '[Arial, Times New Roman,
sans-serif]' but got '[sans-serif, Symbol, ZapfDingbats]' (test:assert in
fo:block at line #72, column #94)

I add a patch file.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to