Bug#156115: X server generates bogus font names for scalable fonts
No reply... Could I please ask you to tell me whether you can reproduce the problem without Tk, i.e. what happens if you do xfd -fn '-adobe-helvetica-medium-r-normal--12-*-75-75-p-*-iso8859-1' If the problem is not reproducible with xfd, it's a Tk bug, not an X bug. If it is reproducible with xfd, I will need the output of xlsfonts -ll -fn '-adobe-helvetica-medium-r-normal--12-*-75-75-p-*-iso8859-1' Regards, Juliusz -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#156115: X server generates bogus font names for scalable fonts
No reply... Could I please ask you to tell me whether you can reproduce the problem without Tk, i.e. what happens if you do xfd -fn '-adobe-helvetica-medium-r-normal--12-*-75-75-p-*-iso8859-1' If the problem is not reproducible with xfd, it's a Tk bug, not an X bug. If it is reproducible with xfd, I will need the output of xlsfonts -ll -fn '-adobe-helvetica-medium-r-normal--12-*-75-75-p-*-iso8859-1' Regards, Juliusz The problem can't be reproduced with your commands but the following shows a problem similar to the one with Tk: xfd -fn `xlsfonts -fn -*-helvetica-medium-r-normal-*-12-*-*-*-*-*-iso8859-1 | head -1` The problem is that xserver generates fontnames with fixed size for Type1 scalable fonts and some (or all?) of these fonts look considerable worse than the corresponding fixed size fonts: $ xlsfonts -fn -*-helvetica-medium-r-normal-*-12-*-*-*-*-*-iso8859-1 -adobe-helvetica-medium-r-normal--12-116-75-75-p-0-iso8859-1 -adobe-helvetica-medium-r-normal--12-116-75-75-p-0-iso8859-1 -adobe-helvetica-medium-r-normal--12-120-75-75-p-67-iso8859-1 -adobe-helvetica-medium-r-normal--12-120-75-75-p-67-iso8859-1 $ xlsfonts -fn -*-helvetica-medium-r-normal-*-*-120-*-*-*-*-iso8859-1 -adobe-helvetica-medium-r-normal--12-120-75-75-p-0-iso8859-1 -adobe-helvetica-medium-r-normal--12-120-75-75-p-0-iso8859-1 -adobe-helvetica-medium-r-normal--12-120-75-75-p-67-iso8859-1 -adobe-helvetica-medium-r-normal--12-120-75-75-p-67-iso8859-1 -adobe-helvetica-medium-r-normal--17-120-100-100-p-88-iso8859-1 -adobe-helvetica-medium-r-normal--17-120-100-100-p-88-iso8859-1 Note that this happens only with certain sizes, for example a search for Helvetica 16 returns only fixed fonts: $ xlsfonts -fn -*-helvetica-medium-r-normal-*-16-*-*-*-*-*-iso8859-1 -adobe-helvetica-medium-r-normal--16-154-75-75-p-0-iso8859-1 -adobe-helvetica-medium-r-normal--16-154-75-75-p-0-iso8859-1 $ xlsfonts -fn -*-helvetica-medium-r-normal-*-*-160-*-*-*-*-iso8859-1 -adobe-helvetica-medium-r-normal--17-160-75-75-p-0-iso8859-1 -adobe-helvetica-medium-r-normal--17-160-75-75-p-0-iso8859-1 Can you explain why a search for Helvetica 12 returns a variable fixed font while Helvetica 16 returns only fixed fonts? The output of xlsfonts -ll with the two fonts gives the following result: $ xlsfonts -ll -fn '-adobe-helvetica-medium-r-normal--12-116-75-75-p-0-iso8859-1' name: -adobe-helvetica-medium-r-normal--12-116-75-75-p-0-iso8859-1 direction:left to right indexing: linear rows: 0x00 thru 0x00 (0 thru 0) columns: 0x00 thru 0xff (0 thru 255) all chars exist: no default char: 0x (0) ascent: 11 descent: 3 font type:Proportional (min and max widths not equal) bounds: width left right asc desc attr keysym min2 0 0-1-7 0x00bf max 12 21112 3 0x03f7 properties: 24 FOUNDRY urw FAMILY_NAME nimbus sans l WEIGHT_NAME regular SLANT r SETWIDTH_NAME normal ADD_STYLE_NAME PIXEL_SIZE12 POINT_SIZE116 RESOLUTION_X 75 RESOLUTION_Y 75 SPACING p AVERAGE_WIDTH 65 CHARSET_REGISTRY iso8859 CHARSET_ENCODING 1 FONT -urw-nimbus sans l-regular-r-normal--12-116-75-75-p-65-iso8859-1 COPYRIGHT (URW)++,Copyright 1999 by (URW)++ Design Development. See the file COPYING (GNU General se) for license conditions. As a special exception, permission is granted to include this font program in a Postscrip that consists of a document that contains text to be displayed or printed using this font, regardless of the conditi e applying to the document itself. RAW_PIXEL_SIZE1000 RAW_POINT_SIZE964 RAW_ASCENT953 RAW_DESCENT 285 RAW_AVERAGE_WIDTH 5435 FACE_NAME NimbusSanL-Regue FONT_TYPE Type 1 RASTERIZER_NAME X Consortium Type 1 Rasterizer $ xlsfonts -ll -fn '-adobe-helvetica-medium-r-normal--12-120-75-75-p-67-iso8859-1' name: -adobe-helvetica-medium-r-normal--12-120-75-75-p-67-iso8859-1 direction:left to right indexing: linear rows: 0x00 thru 0x00 (0 thru 0) columns: 0x00 thru 0xff (0 thru 255) all chars exist: no default char: 0x (0) ascent: 11 descent: 3 font type:Proportional (min and max widths not equal) bounds: width left right asc desc attr keysym min2 0 1-1-8 0x max
Bug#156115: X server generates bogus font names for scalable fonts
No reply... Could I please ask you to tell me whether you can reproduce the problem without Tk, i.e. what happens if you do xfd -fn '-adobe-helvetica-medium-r-normal--12-*-75-75-p-*-iso8859-1' If the problem is not reproducible with xfd, it's a Tk bug, not an X bug. If it is reproducible with xfd, I will need the output of xlsfonts -ll -fn '-adobe-helvetica-medium-r-normal--12-*-75-75-p-*-iso8859-1' Regards, Juliusz
Bug#156115: X server generates bogus font names for scalable fonts
No reply... Could I please ask you to tell me whether you can reproduce the problem without Tk, i.e. what happens if you do xfd -fn '-adobe-helvetica-medium-r-normal--12-*-75-75-p-*-iso8859-1' If the problem is not reproducible with xfd, it's a Tk bug, not an X bug. If it is reproducible with xfd, I will need the output of xlsfonts -ll -fn '-adobe-helvetica-medium-r-normal--12-*-75-75-p-*-iso8859-1' Regards, Juliusz The problem can't be reproduced with your commands but the following shows a problem similar to the one with Tk: xfd -fn `xlsfonts -fn -*-helvetica-medium-r-normal-*-12-*-*-*-*-*-iso8859-1 | head -1` The problem is that xserver generates fontnames with fixed size for Type1 scalable fonts and some (or all?) of these fonts look considerable worse than the corresponding fixed size fonts: $ xlsfonts -fn -*-helvetica-medium-r-normal-*-12-*-*-*-*-*-iso8859-1 -adobe-helvetica-medium-r-normal--12-116-75-75-p-0-iso8859-1 -adobe-helvetica-medium-r-normal--12-116-75-75-p-0-iso8859-1 -adobe-helvetica-medium-r-normal--12-120-75-75-p-67-iso8859-1 -adobe-helvetica-medium-r-normal--12-120-75-75-p-67-iso8859-1 $ xlsfonts -fn -*-helvetica-medium-r-normal-*-*-120-*-*-*-*-iso8859-1 -adobe-helvetica-medium-r-normal--12-120-75-75-p-0-iso8859-1 -adobe-helvetica-medium-r-normal--12-120-75-75-p-0-iso8859-1 -adobe-helvetica-medium-r-normal--12-120-75-75-p-67-iso8859-1 -adobe-helvetica-medium-r-normal--12-120-75-75-p-67-iso8859-1 -adobe-helvetica-medium-r-normal--17-120-100-100-p-88-iso8859-1 -adobe-helvetica-medium-r-normal--17-120-100-100-p-88-iso8859-1 Note that this happens only with certain sizes, for example a search for Helvetica 16 returns only fixed fonts: $ xlsfonts -fn -*-helvetica-medium-r-normal-*-16-*-*-*-*-*-iso8859-1 -adobe-helvetica-medium-r-normal--16-154-75-75-p-0-iso8859-1 -adobe-helvetica-medium-r-normal--16-154-75-75-p-0-iso8859-1 $ xlsfonts -fn -*-helvetica-medium-r-normal-*-*-160-*-*-*-*-iso8859-1 -adobe-helvetica-medium-r-normal--17-160-75-75-p-0-iso8859-1 -adobe-helvetica-medium-r-normal--17-160-75-75-p-0-iso8859-1 Can you explain why a search for Helvetica 12 returns a variable fixed font while Helvetica 16 returns only fixed fonts? The output of xlsfonts -ll with the two fonts gives the following result: $ xlsfonts -ll -fn '-adobe-helvetica-medium-r-normal--12-116-75-75-p-0-iso8859-1' name: -adobe-helvetica-medium-r-normal--12-116-75-75-p-0-iso8859-1 direction:left to right indexing: linear rows: 0x00 thru 0x00 (0 thru 0) columns: 0x00 thru 0xff (0 thru 255) all chars exist: no default char: 0x (0) ascent: 11 descent: 3 font type:Proportional (min and max widths not equal) bounds: width left right asc desc attr keysym min2 0 0-1-7 0x00bf max 12 21112 3 0x03f7 properties: 24 FOUNDRY urw FAMILY_NAME nimbus sans l WEIGHT_NAME regular SLANT r SETWIDTH_NAME normal ADD_STYLE_NAME PIXEL_SIZE12 POINT_SIZE116 RESOLUTION_X 75 RESOLUTION_Y 75 SPACING p AVERAGE_WIDTH 65 CHARSET_REGISTRY iso8859 CHARSET_ENCODING 1 FONT -urw-nimbus sans l-regular-r-normal--12-116-75-75-p-65-iso8859-1 COPYRIGHT (URW)++,Copyright 1999 by (URW)++ Design Development. See the file COPYING (GNU General se) for license conditions. As a special exception, permission is granted to include this font program in a Postscrip that consists of a document that contains text to be displayed or printed using this font, regardless of the conditi e applying to the document itself. RAW_PIXEL_SIZE1000 RAW_POINT_SIZE964 RAW_ASCENT953 RAW_DESCENT 285 RAW_AVERAGE_WIDTH 5435 FACE_NAME NimbusSanL-Regue FONT_TYPE Type 1 RASTERIZER_NAME X Consortium Type 1 Rasterizer $ xlsfonts -ll -fn '-adobe-helvetica-medium-r-normal--12-120-75-75-p-67-iso8859-1' name: -adobe-helvetica-medium-r-normal--12-120-75-75-p-67-iso8859-1 direction:left to right indexing: linear rows: 0x00 thru 0x00 (0 thru 0) columns: 0x00 thru 0xff (0 thru 255) all chars exist: no default char: 0x (0) ascent: 11 descent: 3 font type:Proportional (min and max widths not equal) bounds: width left right asc desc attr keysym min2 0 1-1-8 0x