Bug 244 - xc/lib/font/FreeType/ code does not recognise Solaris's /usr/openwin/lib/locale/zh/X11/fonts/TrueType/
Summary: xc/lib/font/FreeType/ code does not recognise Solaris's /usr/openwin/lib/loca...
Status: RESOLVED FIXED
Alias: None
Product: xprint
Classification: Unclassified
Component: Fonts: Other (show other bugs)
Version: unspecified
Hardware: SPARC Solaris
: high normal
Assignee: Roland Mainz
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-01 01:01 UTC by Roland Mainz
Modified: 2004-03-20 01:46 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Patch for 2004-03-01-trunk (109.57 KB, patch)
2004-03-01 01:03 UTC, Roland Mainz
no flags Details | Splinter Review

Description Roland Mainz 2004-03-01 01:01:55 UTC
xc/lib/font/FreeType/ code does not recognise Solaris's
/usr/openwin/lib/locale/zh/X11/fonts/TrueType/ fonts.
It seems that these fonts only provide a TTF PRC mapping and no unicode table -
and Xfree86's *.enc files for these fonts only have a unicode mapping.

(the same issue has been reported to Xfree86 as
http://bugs.xfree86.org/show_bug.cgi?id=1230)
Comment 1 Roland Mainz 2004-03-01 01:03:21 UTC
Created attachment 111 [details] [review]
Patch for 2004-03-01-trunk

The patch fixes the problem via providing the mapping between PRC ttf map and
the XLFD encoding used by
/usr/openwin/lib/locale/zh/X11/fonts/TrueType/fonts.dir ("gb2312.1980-0").
Comment 2 Roland Mainz 2004-03-01 01:06:08 UTC
Patch checked-in into 009 release branch...

Checking in xc/fonts/encodings/gb2312.1980-0.enc;
/cvs/xprint/xprint/src/xprint_main/xc/fonts/encodings/gb2312.1980-0.enc,v  <-- 
gb2312.1980-0.enc
new revision: 1.1.2.1; previous revision: 1.1
done

... leaving bug open for commit to trunk.
Comment 3 Roland Mainz 2004-03-20 20:46:17 UTC
Patch checked-in into trunk...

Checking in xc/fonts/encodings/gb2312.1980-0.enc;
/cvs/xprint/xprint/src/xprint_main/xc/fonts/encodings/gb2312.1980-0.enc,v  <-- 
gb2312.1980-0.enc
new revision: 1.2; previous revision: 1.1
done

... marking bug as FIXED.


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.