[xep-support] Off-by-one bug in font list parsing?

W. Eliot Kimber eliot at isogen.com
Fri Nov 1 08:02:44 PST 2002


I noticed that if I have this markup:

font-family="'Some font name', 'serif'"

Then I get an "unterminated quoted string" error from the XEP processor. 
However, if I have this:

font-family="'Some font name', 'serif' "

I do not. That suggests an off-by-one bug in the parsing of the 
font-family attribute value.

Also, it would be handy if the processor reported which font it actually 
uses when it doesn't use the first choice in a list (as it does when it 
can't find a font in a single-name font list). That would help debug 
font configuration issues, for example.

Cheers,

E.
-- 
W. Eliot Kimber, eliot at isogen.com
Consultant, ISOGEN International

1016 La Posada Dr., Suite 240
Austin, TX  78752 Phone: 512.656.4139

-------------------
By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html



More information about the Xep-support mailing list