|
Bugzilla – Full Text Bug Listing |
| Summary: | Palatino displays with ligatures on 2, 4, 5, 6 and 9 (figbas plrj.pfb from Tex) | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 11.3 | Reporter: | andrew cooke <andrew> |
| Component: | Other | Assignee: | Dr. Werner Fink <werner> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P3 - Medium | CC: | rdtennent, sndirsch |
| Version: | Final | ||
| Target Milestone: | --- | ||
| Hardware: | x86-64 | ||
| OS: | openSUSE 11.3 | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: | Screenshot of the above, with source edited to include digits 1-9 | ||
|
Description
andrew cooke
2011-01-03 22:36:38 UTC
I can see that issue when displaying the font with xfd -fn "-urw-palatino-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific" after creating fonts.dir/fonts.scale via mkfontscale/mkfontdir and running 'xset fp rehash' afterwards. I also see the issue with xfd -fa "Palatino" after creating the fontconfig cache with fc-cache. Apparently the font only contains the numbers 2,4,5,6 and 9. Could it be that the font is already broken and not the rendering? My limited understanding from http://cg.scs.carleton.ca/~luc/tex.html is that this is what the font is supposed to do, but that those digits should be in the font named FiguredBassPalatino rather than Palatino. In other words, the plrj font is something like a "patch" that extends Palatino to add these digits. But I really don't understand fonts in detail. Note that there are other fonts (cmrj, cmssj) which should do the same to CMR and CMRSS - maybe checking if those work (they should give FiguredBassComputerModern, FiguredBassComputerModernSans) would help? (So what I am trying to say is that it's not exactly the font that's broken. but the name of the result) Sorry, I just understood what you are saying, I think. If this is defining *ligatures* for the character combination "2+" why is it being displayed for "2"? And I imagine it could be a problem with either the font or rendering. Sorry I am not more help (I can't even see this any more - I deleted the file and rebuilt my fonts to remove the mess). My guess is that the font meta data is wrong.
# fc-query plrj.pfb
Pattern has 15 elts (size 16)
family: "Palatino"(s)
style: "Medium"(s)
[...]
# fc-query cmssj.pfb
Pattern has 15 elts (size 16)
family: "ComputerModernSans"(s)
style: "Medium"(s)
[...]
# fc-query cmrj.pfb
Pattern has 15 elts (size 16)
family: "ComputerModern"(s)
style: "Medium"(s)
[...]
Hence reassigning to Werner.
(In reply to comment #4) > If this is defining *ligatures* for the character combination "2+" why is it > being displayed for "2"? And I imagine it could be a problem with either the > font or rendering. These special glyphs for 2,4,5.6 and 9 are at the regular position of 2,4,5,6 and 9. Compare with "xfd -fn fixed". Ah, OK, so that sounds just wrong. Thanks. I'll not gone to fix this as I'm only the maintainer of TeXLive, please report this issue upstream. Otherrwise the tex fonts of upstream and opensuse will differ which is not what I want. OK, so if it's too much effort for you to report "upstream" can you at least explain who I need to report this to? You may use tex-live@tug.org (the mail address of Young Ryu I'm not knowing). On the other hand you may disable Type1 fonts from TeXLive for the X11 Window System, that is you may comment out the lines /usr/share/texmf/fonts/type1 and /usr/local/share/texmf/fonts/type1 by surrounding them with <!-- ... --> pairs in /etc/fonts/conf.d/09-texlive.conf or simply remove those lines. For the next release of texlive I've already splitted off this part. Thanks a lot, let's see what happens. Thanks, Werner for fixing that issue for openSuSE 11.4. "Upstream" is pretty clear, that these fonts are not supposed to be used by fontconfig at all. (In reply to comment #12) > Thanks a lot, let's see what happens. https://www.tug.org/pipermail/tex-live/2011-January/028358.html I believe that's all we need to know. For 11.4 this should not happen anymore, see comment #10. I'm the developer of the figbas fonts. The information in the .pfb file says that the Fontname is FiguredBassPalatino and the Family Name is Palatino. It seems that SUSE is using this font for rendering digits. I'm not familiar with how SUSE selects fonts but I think this is their issue. As far as I know, the font information is correct; if not I'll change it but I'll need authoritative guidance. Bob Tennent I've changed the Postscript Fontnames to avoid conflicts with Palatino (and avoid trademark issues). The revised figbas package has been submitted to CTAN. The TeXLive package will in due course be updated. Thanks Andrew for reporting the problem. |