Keith Packard wrote: > > Around 11 o'clock on Jun 10, Erik van der Poel wrote: > > > > It shouldn't be that hard to change the X-specific parts of Mozilla to > > pass down the DPI and point size, since the machine-independent parts of > > Mozilla do pass down this info. The place where point size is converted > > to pixel size isn't that far from X-specific calls. > > The Mozilla code follows the X core-font version which always uses pixel > sizes
Yes, the old Mozilla code used (and probably still uses; I haven't looked) pixel sizes. But my point was that the point size and DPI are passed down to a layer that really isn't that far from there, so you could easily change the code to pass those down too if you really wanted to. I don't know whether it's worth it (optical scaling, etc). > the UI exposes pixel sizes in the configuration UI. Yes, there was a rather long discussion about the UI, and we concluded that pixel sizes were better there. Of course, pixel sizes can still be converted to point sizes via the DPI value (which in some cases was inaccurate, but that's another matter). Even though the X-specific code and the UI use pixel sizes, Mozilla still has to comply with CSS, which allows the user to specify font sizes in points and the like too. > I did't like > this, but followed along in the Mozilla patches. Well, yes, I can certainly understand that it might have been more expedient to follow along... Whatever. In your other message you made it sound like Mozilla doesn't pass down the point size and DPI, but that's just not true, since it has to comply with CSS, so it does pass those down to a certain level, not far from the X-specific code. Erik _______________________________________________ Fonts mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/fonts
