> On Wed, 2005-06-22 at 20:09 -0700, Andrew Young wrote: > > The symptoms look very similar. Maybe they can be combined? > > > > Aye, they are. There are a handful of related bug reports looking at > one aspect or another of the problem. Like I said, it's been a bugbear > for a while :) There are instruction at bugs.debian.org on how to merge > them.
OK. I got a mail from the person who is in charge of the other one, asking me to post the defective PS files in some public place, as the bugs box doesn't like long attachments. I'll see if I can arrange that. Meanwhile, here's some additional information. Because I thought some of the trouble lay with defoma configuration files, I dug through some of the defoma scripts (wish I could read perl better) and found one that stated that "Location and FontNames are necessary ...". So I took a look at the defoma hint-files, and discovered that some do and some don't have these lines in them, as generated by the defoma scripts themselves. I tried adding them to the scripts that were missing them (defoma-ps.hints, gsfonts.hints, gsfonts-other.hints, and scalable-cyrfonts.hints, so far), and then ran defoma-font reregister-all on these files. This appreciably increased the list of fonts available to mozilla, according to its font-choosing menu. In particular, the name "Times", which was available on the machine at work but not in my box at home, suddenly appeared on the latter. I selected it, and indeed got a Times-like font on-screen. I printed the Debian homepage, and got a sans-serif font on paper. I tried printing to a file, to see what the PostScript was asking for: it turns out to be "Avant-Garde Book", and comparison with the fonts-demo page from my HP LaserJet III shows that that is, in fact, what got printed. Down at the bottom of the page, though, where there are a lot of font changes to print the special characters for various languages, "Times-Roman" mysteriously appears (I think it's used to print "Russkij" and/or "slovensky".) This suggested that Times-Roman really *is* available to mozilla, somehow. It occurred to me that I could try manually inserting "Times-Roman" in the prefs.js file, where it has just "Times" (which I chose from the font-selection menu in mozilla). So I tried it. And what got printed was indeed in Times-Roman -- the whole page, including the left-hand sidebar. There is the missing-space problem before the links to "available versions...", "obtain a copy", "documentation", and "ports" in the "Getting Started" section. Apart from that, everything is printed perfectly (but only in Times-Roman) down to the News items. There, the headers and text continue to be Times-Roman, but the dates are in a sans-serif font. And the whole list of languages in the footer is printed correctly, save for the second glyph in "B*lgarski" -- which suggests that I just done have a font available with a schwa in it. I even got "Hangul" and "Nihongo" correctly spaced on the hard copy -- though they were still spaced-out on-screen. Unfortunately, I didn't get Times-Roman on-screen: mozilla has reverted to "Serif". And when I look at the font-selection menu in mozilla, I still have only "Times" and not "Times-Roman" as a choice there. That means mozilla is not being given the *opportunity* to select Times-Roman. So, maybe part of the trouble is that fontconfig is doing the aliasing or fontname matching incorrectly? Here's some food for thought: [EMAIL PROTECTED]:~$ fc-match Times-Roman timR12-ISO8859-1.pcf.gz: "Times" "Regular" [EMAIL PROTECTED]:~$ fc-match Times timR12-ISO8859-1.pcf.gz: "Times" "Regular" [EMAIL PROTECTED]:~$ fc-match AvantGarde Vera.ttf: "Bitstream Vera Sans" "Roman" [EMAIL PROTECTED]:~$ fc-match Regular Vera.ttf: "Bitstream Vera Sans" "Roman" [EMAIL PROTECTED]:~$ fc-match Roman Vera.ttf: "Bitstream Vera Sans" "Roman" [EMAIL PROTECTED]:~$ fc-match Serif VeraSe.ttf: "Bitstream Vera Serif" "Roman" That timR12-ISO8859-1.pcf.gz is a bitmapped font, not a scalable one (I did dpkg-reconfigure fontconfig to allow the use of bitmapped fonts.) I suppose there ought to be a defoma hintfile for the bitmaps, but I don't see one: [EMAIL PROTECTED]:~$ cd /etc/defoma/hints [EMAIL PROTECTED]:/etc/defoma/hints$ grep timR12-ISO8859-1.pcf * So it's not clear where all the trouble is coming from, but clearly the various pieces in the puzzle are not cooperating as they should. "In theory, there is no difference between theory and practice. But in practice, there is." We seem to have an example here. --Andy Young -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]