View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000572 | luatex | luatex bug | public | 2011-02-08 23:20 | 2013-12-19 13:41 |
Reporter | Paul Isambert | Assigned To | Taco | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Summary | 0000572: fontloader.info returns incorrect data. | ||||
Description | local f = kpse.find_file("ChaparralPro-Semibold.otf", "opentype fonts") -- Returns (incorrectly) "Chaparral Pro SmBd" print(fontloader.info(f).familyname) -- Returns (correctly) "Chaparral Pro" print(fontloader.to_table(fontloader.open(f)).familyname) -- Returns (incorrectly) "ChaparralPro-Semibold" print(fontloader.info(f).fullname) -- Returns (correctly) "Chaparral Pro Semibold" print(fontloader.to_table(fontloader.open(f)).fullname) Apparently, only Adobe fonts are affected, and rather erratically (e.g. Chaparral's light version is wrong too, but not the bold version, whereas Caslon's bold is wrong), and only weights (not italics). | ||||
Tags | No tags attached. | ||||
|
It turns out fonloader.info reads the font's "names" table (not the top level "familyname"), and that table is a mess in Adobe's fonts, so fontloader.info correctly returns incorrect data... |
|
Font names is the most buggy aspect of all fonts, there are tens of redundant fields and almost no one seems to get it right. |
Date Modified | Username | Field | Change |
---|---|---|---|
2011-02-08 23:20 | Paul Isambert | New Issue | |
2011-02-09 08:55 | Paul Isambert | Note Added: 0000735 | |
2011-02-09 09:31 | Khaled Hosny | Note Added: 0000736 | |
2011-02-10 09:36 | Taco | Status | new => assigned |
2011-02-10 09:36 | Taco | Assigned To | => Taco |
2013-12-19 13:41 | Hans Hagen | Status | assigned => closed |
2013-12-19 13:41 | Hans Hagen | Resolution | open => fixed |