Bug 1703

Summary: Lots of "FreeType: couldn't find encoding 'ascii-0'" warnings
Product: xorg Reporter: Roland Mainz <roland.mainz>
Component: Lib/XfontAssignee: Roland Mainz <roland.mainz>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high CC: roland.mainz
Version: git   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Prototype patch for 2004-10-31-trunk
none
[FIXED_X11R68x] Patch for 2004-11-04-trunk roland.mainz: 6.8-branch+

Description Roland Mainz 2004-10-25 05:07:27 UTC
After doing a % xlsfonts -l # on my test Xserver I found the following entries
in my log file
-- snip --
FreeType: couldn't find encoding 'ascii-0' for
'/usr/X11R6/lib/X11/fonts/truetype/lt5-b-omega-serif.ttf'
FreeType: couldn't find encoding 'ascii-0' for
'/usr/X11R6/lib/X11/fonts/truetype/lt5-i-omega-serif.ttf'
FreeType: couldn't find encoding 'ascii-0' for
'/usr/X11R6/lib/X11/fonts/truetype/lt5-i-omega-serif.ttf'
FreeType: couldn't find encoding 'ascii-0' for
'/usr/X11R6/lib/X11/fonts/truetype/lt5-r-omega-serif.ttf'
FreeType: couldn't find encoding 'ascii-0' for
'/usr/X11R6/lib/X11/fonts/truetype/viscii-omega-serif.ttf'
FreeType: couldn't find encoding 'ascii-0' for
'/usr/X11R6/lib/X11/fonts/truetype/Efont_Serif_BI.ttf'
FreeType: couldn't find encoding 'ascii-0' for
'/usr/X11R6/lib/X11/fonts/truetype/Efont_Serif_BI.ttf'
FreeType: couldn't find encoding 'ascii-0' for
'/usr/X11R6/lib/X11/fonts/truetype/Efont_Serif_B.ttf'
FreeType: couldn't find encoding 'ascii-0' for
'/usr/X11R6/lib/X11/fonts/truetype/Efont_Serif_I.ttf'
FreeType: couldn't find encoding 'ascii-0' for
'/usr/X11R6/lib/X11/fonts/truetype/Efont_Serif_I.ttf'
FreeType: couldn't find encoding 'ascii-0' for
'/usr/X11R6/lib/X11/fonts/truetype/Efont_Serif.ttf'
FreeType: couldn't find encoding 'ascii-0' for
'/usr/X11R6/lib/X11/fonts/truetype/wadalab-gothic.ttf'
FreeType: couldn't find encoding 'ascii-0' for
'/usr/X11R6/lib/X11/fonts/truetype/watanabe-mincho.ttf'
-- snip --

It seems the encoding file 'ascii-0' is either missing or something else is
going wrong.
Comment 1 Roland Mainz 2004-11-01 00:43:18 UTC
Created attachment 1200 [details] [review]
Prototype patch for 2004-10-31-trunk

Prototype patch.
The ascii-0 encoding makes more or less only sense for fonts which have all
ASCII chars populated but not enougth glyphs to match the requirements for
ISO8859-1.
Comment 2 Roland Mainz 2004-11-04 20:59:39 UTC
Created attachment 1226 [details] [review]
[FIXED_X11R68x] Patch for 2004-11-04-trunk
Comment 3 Roland Mainz 2004-11-04 21:02:43 UTC
Patch checked-in...

/cvs/xorg/xc/ChangeLog,v  <--  ChangeLog
new revision: 1.505; previous revision: 1.504
/cvs/xorg/xc/fonts/encodings/Imakefile,v  <--  Imakefile
new revision: 1.4; previous revision: 1.3
/cvs/xorg/xc/fonts/encodings/ascii-0.enc,v  <--  ascii-0.enc
initial revision: 1.1
/cvs/xorg/xc/programs/mkfontscale/mkfontscale.c,v  <--  mkfontscale.c
new revision: 1.3; previous revision: 1.2
Mailing the commit message to xorg-commit@pdx.freedesktop.org...

... marking bug as FIXED.
Comment 4 Roland Mainz 2004-11-09 23:31:45 UTC
Comment on attachment 1226 [details] [review]
[FIXED_X11R68x] Patch for 2004-11-04-trunk

Requesting approval for X11R6.8.x, the patch is needed for
backwards-compatibility to ttmkfontdir and applications which expect that there
are fonts with	 the *-ascii-0 encoding around.
Comment 5 Roland Mainz 2004-11-12 09:20:37 UTC
Comment on attachment 1226 [details] [review]
[FIXED_X11R68x] Patch for 2004-11-04-trunk

Approved for checkin into X11R6.8.x in the 2004-11-12 release-wranglers call.
Comment 6 Roland Mainz 2004-12-13 05:51:34 UTC
Comment on attachment 1226 [details] [review]
[FIXED_X11R68x] Patch for 2004-11-04-trunk

Patch checked-in into X11R6.8.x stable branch:

/cvs/xorg/xc/ChangeLog,v  <--  ChangeLog
new revision: 1.365.2.55; previous revision: 1.365.2.54
cvs commit: Using deprecated info format strings.  Convert your scripts to use
the new argument format and remove '1's from your info file format strings.
/cvs/xorg/xc/fonts/encodings/Imakefile,v  <--  Imakefile
new revision: 1.2.4.1; previous revision: 1.2
/cvs/xorg/xc/fonts/encodings/ascii-0.enc,v  <--  ascii-0.enc
new revision: 1.1.4.1; previous revision: 1.1
cvs commit: Using deprecated info format strings.  Convert your scripts to use
the new argument format and remove '1's from your info file format strings.
/cvs/xorg/xc/programs/mkfontscale/mkfontscale.c,v  <--	mkfontscale.c
new revision: 1.2.4.1; previous revision: 1.2
cvs commit: Using deprecated info format strings.  Convert your scripts to use
the new argument format and remove '1's from your info file format strings.
Mailing the commit message to xorg-commit@lists.freedesktop.org...

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.