>>>>> "Allan" == Allan Rae <[EMAIL PROTECTED]> writes:
>> Note that the dpi settings are not zero in this case. This is how >> you can recognize them. Allan> I thought I gave an example of this in my email anyway? I knew Allan> this part. Fine. >> No, #12 tells you that a bitmap font of size 12 exists on this >> system. This is a very valuable information: you have both bitmap >> and scalable versions of the fonts. Allan> I don't think so, because when using the '-*' call to Allan> XListFonts as described in the gfontsel sources doesn't yield Allan> #12 for urw. That can only mean that xfs is using the default Allan> settings for my system(?). Using `xlsfonts | less` also doesn't Allan> show #12. How do you explain that? Allan> Besides a bitmapped font of size 12 should also include an Allan> average width field (the zero in -p-0-iso8859) -- all the rest Allan> do. It seems you are right indeed. Allan> FWIW, wouldn't it make sense for FontLoader to use a pattern Allan> that includes the screen DPI setting? I do not like this one, especially if DPI is not 75 or 100. Allan> Or at least FontInfo::query() when searching for a suitable Allan> scalable font? What do you mean? Allan> Or we should at least be trying to match a font that is as Allan> close as possible to the screen dpi setting within Allan> FontInfo::getFontName() for non-scaled fonts. Yes, although we may decide that we are not interested by dpi setting, but only pixel-height value. This allows to mix different dpi settings and have acceptable results. Allan> If scalable fonts are enabled then people like Peter D. with Allan> 140dpi screens will get a scaled font of the right dpi rather Allan> than him having to set a really high zoom level. The scaled Allan> result may also appear slightly different -- 36pt 75dpi versus Allan> say 18pt 140dpi when viewed on a 140dpi screen. Allan> And if scalable fonts are off then he would get a match for Allan> 100dpi fonts instead of the more likely 75dpi. Depending upon Allan> the font this could be the difference between readable and Allan> unreadable since some fonts change shape at smaller point sizes Allan> to make them more readable. Maybe we are saying the same thing here. Allan> Only minor mods really but I want to be sure I'm doing the Allan> right things. Current behaviour is just being extended to Allan> distinquish between types of scalable fonts (outline ones and Allan> bitmapped ones). Good. It seems that I have been alarmed for false reasons. JMarc