Bug 42868 - font-weight on custom fonts
Summary: font-weight on custom fonts
Status: NEW
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: fonts (show other bugs)
Version: 0.93
Hardware: Other FreeBSD
: P3 normal
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-12 04:31 UTC by Vasanth Manickam
Modified: 2012-04-07 01:51 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vasanth Manickam 2007-07-12 04:31:04 UTC
When using a custom font from a metric file font-weight does not seem to have
any effect.. The font is of 1px width even if the weight is set to bold bolder
etc...
Comment 1 Manuel Mall 2007-07-12 04:50:59 UTC
Does your custom font actually contain the glyphs for the font-weight you want
to render?

If not then add those to your custom font and it should display correctly.

BTW, unless you are really sure its a bug it is generally preferable to ask
questions on the fop-user mailing list regarding the perceived problem first.
The issue of font-weight and custom fonts was previously discussed on that list.
Comment 2 Andreas L. Delmelle 2007-07-12 09:07:53 UTC
FWIW: the handling of relative font-weights was far from complete in 0.93, in some cases outright 
erroneous. I've recently committed some small changes to the trunk that should partly solve it.
Comment 3 Glenn Adams 2012-04-07 01:41:23 UTC
resetting P2 open bugs to P3 pending further review