Hi,
While trying to solve a font problem in Mozilla (ref. : http://bugzilla.mozilla.org/show_bug.cgi?id=94327 ) I found that the return value of XListFonts() is kind of strange. On my RedHat 7.1 box (XF86 4.0.2), I ran the following two commands: $ xlsfonts | grep iso8859-9 | grep 17 $ xlsfonts -fn '-adobe-times-*-*-*--*-*-*-*-*-*-iso8859-9' The first command came up with the NULL result. However, the output from the second includes the following entry: -adobe-times-medium-r-normal--17-120-100-100-p-0-iso8859-9 Please, note that the average-width field is 0 while the pixel-size and point-size field are not zero. I have '-adboe-times-medium-r-normal.....iso8859-9' at 8,10,12,14,18,24 pixels, but I don't have it at 17pixels as shown below: -adobe-times-medium-r-normal--8-80-75-75-p-44-iso8859-9 -adobe-times-medium-r-normal--10-100-75-75-p-54-iso8859-9 -adobe-times-medium-r-normal--12-120-75-75-p-64-iso8859-9 -adobe-times-medium-r-normal--14-140-75-75-p-74-iso8859-9 -adobe-times-medium-r-normal--18-180-75-75-p-94-iso8859-9 -adobe-times-medium-r-normal--24-240-75-75-p-124-iso8859-9 Could anyone tell me why XListFonts() (invoked by xlsfonts) comes up with '-adobe-times-medium-r-normal--17-120-100-100-p-0-iso8859-9' when '-adobe-times-*-*-*--*-*-*-*-*-*-iso8859-9' is given as the second argument wheras it does NOT when '-*-*-*-*-*--*-*-*-*-*-*-*-*' is given? Is this behavior normal? If so, what do I have to make of entries like this (with non-zero pixel_size, point_size but zero average_width)? -adobe-times-medium-r-normal--17-120-100-100-p-0-iso8859-9 It would be very nice if anybody could enlighten me on this issue. (there must be something obvious I'm missing....) Jungshik Shin P.S. I'm not on the list so that I'd like you to CC me. P.S.2. The screen resolution of my X server is 91x91dpi if that's relevant. _______________________________________________ Fonts mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/fonts
