| Summary: | MIA: LucidaSansTypewriter font family from java-1.6.0-sun-fonts-1.6.0.26 | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | John L. ten Wolde <johnltw> |
| Component: | RPM Packages | Assignee: | Luc Menut <lmenut> |
| Status: | RESOLVED INVALID | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | 1 | ||
| Target Milestone: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | java-1.6.0-sun-fonts | CVE: | |
| Status comment: | |||
|
Description
John L. ten Wolde
2011-07-09 18:05:49 CEST
Ahmad Samir
2011-07-09 18:26:26 CEST
Assignee:
bugsquad =>
lmenut
Ahmad Samir
2011-07-09 18:26:32 CEST
Source RPM:
(none) =>
java-1.6.0-sun-fonts I don't see any change in java-1.6.0-sun-fonts. Please, can you give the output of the following commands: ls -l /usr/lib/jvm/java-1.6.0-sun-1.6.0.26/jre/lib/fonts/ ls -l /usr/share/fonts/java ls -l /etc/alternatives/Lucida* /usr/sbin/update-alternatives --display LucidaBrightDemiBold.ttf Keywords:
(none) =>
NEEDINFO As requested: $ ls -l /usr/lib/jvm/java-1.6.0-sun-1.6.0.26/jre/lib/fonts/ total 2044 -rw-r--r-- 1 root root 4041 May 4 02:15 fonts.dir -rw-r--r-- 1 root root 75144 May 4 02:15 LucidaBrightDemiBold.ttf -rw-r--r-- 1 root root 75124 May 4 02:15 LucidaBrightDemiItalic.ttf -rw-r--r-- 1 root root 80856 May 4 02:15 LucidaBrightItalic.ttf -rw-r--r-- 1 root root 344908 May 4 02:15 LucidaBrightRegular.ttf -rw-r--r-- 1 root root 317896 May 4 02:15 LucidaSansDemiBold.ttf -rw-r--r-- 1 root root 698236 May 4 02:15 LucidaSansRegular.ttf -rw-r--r-- 1 root root 234068 May 4 02:15 LucidaTypewriterBold.ttf -rw-r--r-- 1 root root 242700 May 4 02:15 LucidaTypewriterRegular.ttf $ ls -l /usr/share/fonts/java total 32 -rw-r--r-- 1 root root 0 Jul 4 12:54 fonts.alias -rw-r--r-- 1 root root 14656 Jul 7 11:07 fonts.dir -rw-r--r-- 1 root root 14656 Jul 7 11:07 fonts.scale lrwxrwxrwx 1 root root 42 Jun 25 21:31 LucidaBrightDemiBold.ttf -> /etc/alternatives/LucidaBrightDemiBold.ttf lrwxrwxrwx 1 root root 44 Jun 25 21:31 LucidaBrightDemiItalic.ttf -> /etc/alternatives/LucidaBrightDemiItalic.ttf lrwxrwxrwx 1 root root 40 Jun 25 21:31 LucidaBrightItalic.ttf -> /etc/alternatives/LucidaBrightItalic.ttf lrwxrwxrwx 1 root root 41 Jun 25 21:31 LucidaBrightRegular.ttf -> /etc/alternatives/LucidaBrightRegular.ttf lrwxrwxrwx 1 root root 40 Jun 25 21:31 LucidaSansDemiBold.ttf -> /etc/alternatives/LucidaSansDemiBold.ttf lrwxrwxrwx 1 root root 39 Jun 25 21:31 LucidaSansRegular.ttf -> /etc/alternatives/LucidaSansRegular.ttf lrwxrwxrwx 1 root root 42 Jun 25 21:31 LucidaTypewriterBold.ttf -> /etc/alternatives/LucidaTypewriterBold.ttf lrwxrwxrwx 1 root root 45 Jun 25 21:31 LucidaTypewriterRegular.ttf -> /etc/alternatives/LucidaTypewriterRegular.ttf $ ls -l /etc/alternatives/Lucida* lrwxrwxrwx 1 root root 75 Jul 7 11:07 /etc/alternatives/LucidaBrightDemiBold.ttf -> /usr/lib/jvm/java-1.6.0-sun-1.6.0.26/jre/lib/fonts/LucidaBrightDemiBold.ttf lrwxrwxrwx 1 root root 77 Jul 7 11:07 /etc/alternatives/LucidaBrightDemiItalic.ttf -> /usr/lib/jvm/java-1.6.0-sun-1.6.0.26/jre/lib/fonts/LucidaBrightDemiItalic.ttf lrwxrwxrwx 1 root root 73 Jul 7 11:07 /etc/alternatives/LucidaBrightItalic.ttf -> /usr/lib/jvm/java-1.6.0-sun-1.6.0.26/jre/lib/fonts/LucidaBrightItalic.ttf lrwxrwxrwx 1 root root 74 Jul 7 11:07 /etc/alternatives/LucidaBrightRegular.ttf -> /usr/lib/jvm/java-1.6.0-sun-1.6.0.26/jre/lib/fonts/LucidaBrightRegular.ttf lrwxrwxrwx 1 root root 73 Jul 7 11:07 /etc/alternatives/LucidaSansDemiBold.ttf -> /usr/lib/jvm/java-1.6.0-sun-1.6.0.26/jre/lib/fonts/LucidaSansDemiBold.ttf lrwxrwxrwx 1 root root 72 Jul 7 11:07 /etc/alternatives/LucidaSansRegular.ttf -> /usr/lib/jvm/java-1.6.0-sun-1.6.0.26/jre/lib/fonts/LucidaSansRegular.ttf lrwxrwxrwx 1 root root 75 Jul 7 11:07 /etc/alternatives/LucidaTypewriterBold.ttf -> /usr/lib/jvm/java-1.6.0-sun-1.6.0.26/jre/lib/fonts/LucidaTypewriterBold.ttf lrwxrwxrwx 1 root root 78 Jul 7 11:07 /etc/alternatives/LucidaTypewriterRegular.ttf -> /usr/lib/jvm/java-1.6.0-sun-1.6.0.26/jre/lib/fonts/LucidaTypewriterRegular.ttf $ /usr/sbin/update-alternatives --display LucidaBrightDemiBold.ttf LucidaBrightDemiBold.ttf - status is auto. link currently points to /usr/lib/jvm/java-1.6.0-sun-1.6.0.26/jre/lib/fonts/LucidaBrightDemiBold.ttf /usr/lib/jvm/java-1.6.0-sun-1.6.0.26/jre/lib/fonts/LucidaBrightDemiBold.ttf - priority 1600 slave LucidaSansRegular.ttf: /usr/lib/jvm/java-1.6.0-sun-1.6.0.26/jre/lib/fonts/LucidaSansRegular.ttf slave LucidaBrightDemiItalic.ttf: /usr/lib/jvm/java-1.6.0-sun-1.6.0.26/jre/lib/fonts/LucidaBrightDemiItalic.ttf slave LucidaBrightItalic.ttf: /usr/lib/jvm/java-1.6.0-sun-1.6.0.26/jre/lib/fonts/LucidaBrightItalic.ttf slave LucidaTypewriterBold.ttf: /usr/lib/jvm/java-1.6.0-sun-1.6.0.26/jre/lib/fonts/LucidaTypewriterBold.ttf slave LucidaSansDemiBold.ttf: /usr/lib/jvm/java-1.6.0-sun-1.6.0.26/jre/lib/fonts/LucidaSansDemiBold.ttf slave LucidaBrightRegular.ttf: /usr/lib/jvm/java-1.6.0-sun-1.6.0.26/jre/lib/fonts/LucidaBrightRegular.ttf slave LucidaTypewriterRegular.ttf: /usr/lib/jvm/java-1.6.0-sun-1.6.0.26/jre/lib/fonts/LucidaTypewriterRegular.ttf Current `best' version is /usr/lib/jvm/java-1.6.0-sun-1.6.0.26/jre/lib/fonts/LucidaBrightDemiBold.ttf. So yeah: Lucida Sans Typewriter doesn't appear anywhere above. Just to be clear, I should add that it was NOT missing from the 1.6.0.25 package bundled with Mageia 1. Maybe it is an upstream thing. Oracle's info regarding the Lucida font family can be found here: http://download.oracle.com/javase/1.5.0/docs/guide/intl/font.html#lucida ...but their info is incongruous. In the text they state: "There are three different type families: "Lucida Sans", "Lucida Sans Typewriter", and "Lucida Bright"." ...then mention Typewriter Sans again in the table. Yet at the bottom they list all the fonts as: "The fonts are installed in the J2SE Runtime Environment's lib/fonts directory as the following files (not all of them may be present): LucidaSansDemiBold.ttf LucidaSansDemiOblique.ttf LucidaSansOblique.ttf LucidaSansRegular.ttf LucidaTypewriterBold.ttf LucidaTypewriterBoldOblique.ttf LucidaTypewriterOblique.ttf LucidaTypewriterRegular.ttf LucidaBrightDemiBold.ttf LucidaBrightDemiItalic.ttf LucidaBrightItalic.ttf LucidaBrightRegular.ttf" So their final list *is also* missing Sans Typewriter. But Mageia is missing all the oblique fonts as well. I've got 8 total instead of 12 in three fonts. Checking my Mandriva 2012.2 box also running 1.6.0.26 (updated 13 June) shows the same issue: no Sans Typewriter and no obliques (8 of 16 fonts in four fonts). Maybe an upstream change or oversight? Just noticed the link I provided above is regarding v.1.5.0 so likely outdated, though the line that says "not all of them may be present" certainly seems to hold for the missing obliques. Sans Typewriter is/was pretty much an MS Office font anyway. I've replaced it with Liberation Mono where needed, so to heck with it. Anyway, I'm starting to doubt very much this is by any means an issue unique to Mageia, so perhaps this bug should be closed? Just for comparison I grabbed a copy of sun-fonts-1.6.0.25-1. Apparently no Sans Typewriter in this package either (which is weird, as I swear I had no issue a week ago) but the obliques ARE present. $ rpm -qpi --filesbypkg java-1.6.0-sun-fonts-1.6.0.25-1.mga1.x86_64.rpm Name : java-1.6.0-sun-fonts Relocations: (not relocatable) Version : 1.6.0.25 Vendor: Mageia.Org Release : 1.mga1 Build Date: Sun 15 May 2011 05:19:57 AM MDT Install Date: (not installed) Build Host: jonund Group : System/Fonts/True type Source RPM: java-1.6.0-sun-1.6.0.25-1.mga1.src.rpm Size : 2620816 License: Operating System Distributor License for Java (DLJ) Signature : RSA/SHA1, Sun 15 May 2011 05:23:54 AM MDT, Key ID b742fa8b80420f66 Packager : Mageia Team <http://www.mageia.org> URL : http://java.sun.com/j2se/1.6.0 Summary : TrueType fonts for sun JVMs Description : This package contains the TrueType fonts for sun JVMs. java-1.6.0-sun-fonts /etc/X11/fontpath.d/java:pri=50 java-1.6.0-sun-fonts /usr/lib/jvm/java-1.6.0-sun-1.6.0.25/jre/lib/fonts java-1.6.0-sun-fonts /usr/lib/jvm/java-1.6.0-sun-1.6.0.25/jre/lib/fonts/LucidaBrightDemiBold.ttf java-1.6.0-sun-fonts /usr/lib/jvm/java-1.6.0-sun-1.6.0.25/jre/lib/fonts/LucidaBrightDemiItalic.ttf java-1.6.0-sun-fonts /usr/lib/jvm/java-1.6.0-sun-1.6.0.25/jre/lib/fonts/LucidaBrightItalic.ttf java-1.6.0-sun-fonts /usr/lib/jvm/java-1.6.0-sun-1.6.0.25/jre/lib/fonts/LucidaBrightRegular.ttf java-1.6.0-sun-fonts /usr/lib/jvm/java-1.6.0-sun-1.6.0.25/jre/lib/fonts/LucidaSansDemiBold.ttf java-1.6.0-sun-fonts /usr/lib/jvm/java-1.6.0-sun-1.6.0.25/jre/lib/fonts/LucidaSansRegular.ttf java-1.6.0-sun-fonts /usr/lib/jvm/java-1.6.0-sun-1.6.0.25/jre/lib/fonts/LucidaTypewriterBold.ttf java-1.6.0-sun-fonts /usr/lib/jvm/java-1.6.0-sun-1.6.0.25/jre/lib/fonts/LucidaTypewriterRegular.ttf java-1.6.0-sun-fonts /usr/lib/jvm/java-1.6.0-sun-1.6.0.25/jre/lib/fonts/fonts.dir java-1.6.0-sun-fonts /usr/lib/jvm/java-1.6.0-sun-1.6.0.25/jre/lib/oblique-fonts java-1.6.0-sun-fonts /usr/lib/jvm/java-1.6.0-sun-1.6.0.25/jre/lib/oblique-fonts/LucidaSansDemiOblique.ttf java-1.6.0-sun-fonts /usr/lib/jvm/java-1.6.0-sun-1.6.0.25/jre/lib/oblique-fonts/LucidaSansOblique.ttf java-1.6.0-sun-fonts /usr/lib/jvm/java-1.6.0-sun-1.6.0.25/jre/lib/oblique-fonts/LucidaTypewriterBoldOblique.ttf java-1.6.0-sun-fonts /usr/lib/jvm/java-1.6.0-sun-1.6.0.25/jre/lib/oblique-fonts/LucidaTypewriterOblique.ttf java-1.6.0-sun-fonts /usr/lib/jvm/java-1.6.0-sun-1.6.0.25/jre/lib/oblique-fonts/fonts.dir java-1.6.0-sun-fonts /usr/share/fonts/java java-1.6.0-sun-fonts /usr/share/fonts/java/XftCache java-1.6.0-sun-fonts /usr/share/fonts/java/encodings.dir java-1.6.0-sun-fonts /usr/share/fonts/java/fonts.alias java-1.6.0-sun-fonts /usr/share/fonts/java/fonts.cache-1 java-1.6.0-sun-fonts /usr/share/fonts/java/fonts.dir java-1.6.0-sun-fonts /usr/share/fonts/java/fonts.scale My apologies: it seems I shouldn't post while I'm tired and in a hurry. I should have read my output on 25-1 above more closely to notice that the obliques are in their own subdirectory. Checking on 26-0, they're in the same subdirectory, so I see what you mean when you say that nothing appears to have changed (between 25-1 and 26-0, anyway): $ ls -l /usr/lib/jvm/java-1.6.0-sun-1.6.0.26/jre/lib/oblique-fonts total 544 -rw-r--r-- 1 root root 2115 May 4 02:15 fonts.dir -rw-r--r-- 1 root root 91352 May 4 02:15 LucidaSansDemiOblique.ttf -rw-r--r-- 1 root root 253724 May 4 02:15 LucidaSansOblique.ttf -rw-r--r-- 1 root root 63168 May 4 02:15 LucidaTypewriterBoldOblique.ttf -rw-r--r-- 1 root root 137484 May 4 02:15 LucidaTypewriterOblique.ttf Not that this resolves my bug. The four above don't seem to be linked to anything so KDE can't see them (they don't appear in the Font Installer, for instance). And LibreOffice can't find ANY of the Lucida fonts at all. Weirder still, if I open any of the Lucida Typewriter TTF files with KFontView the previewed font is Lucida Sans Typewriter (i.e. the font I claimed was missing) and NOT Lucida Typewriter (which is definitely a serif font): http://new.myfonts.com/fonts/adobe/lucida-typewriter/ http://new.myfonts.com/fonts/adobe/lucida-sans-typewriter/ Also after messing around with KWrite a bit, I noticed some weird behaviour, though I have no idea what caused it and I can't reproduce it consistently. Suffice it to say that the missing Lucida fonts showed up (in the Configure Editor window) and then disappeared again, except I'm not convinced the fonts that appeared were the correct ones, but substitutions instead. I don't know how Mageia's underlying font infrastructure works, but could the following have something to do with the problem? I compared these two files: /usr/lib/jvm/java-1.6.0-sun-1.6.0.26/jre/lib/fonts/fonts.dir /usr/share/fonts/java/fonts.dir ...which contained examples of the following: LucidaTypewriterRegular.ttf -b&h-lucidatypewriter-medium-r-normal-sans-0-0-0-0-m-0-iso8859-1 LucidaTypewriterRegular.ttf -b&h-lucida sans typewriter-medium-r-normal--0-0-0-0-m-0-iso8859-1 I don't know what purpose these font.dir files serve, but it seems odd that LucidaTypewriter.ttf should be trying to pull double duty as both the serifed and sans-serifed versions of itself. sorry for the late reply (In reply to comment #5) ... > > Weirder still, if I open any of the Lucida Typewriter TTF files with KFontView > the previewed font is Lucida Sans Typewriter (i.e. the font I claimed was > missing) and NOT Lucida Typewriter (which is definitely a serif font): yes, despite its filename, LucidaTypewriterRegular.ttf is a sans-serif font. regards, Luc Keywords:
NEEDINFO =>
(none) |