Ghostscript cannot recognize CJK CID fonts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ghostscript (Debian) |
Fix Released
|
Unknown
|
|||
ghostscript (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Why recognize:
Ghostscript(
/usr/share/
This file has high priority than /var/lib/
which is generated by update-gsfontmap. And /var/.../cidfmap included
CJK CID fonts data which is provided by gs-cjk-resource.
Therefore, any gs-cjk-resource data is ignored and CJK fonts can't
render in gs and Evince.
Why is there empty cidfmap:
debian/rules already try to remove empty cidfmap at
binary-
However this target specify to remove file path in $(DEB_DESTDIR)
which equal to "debian/tmp/"[2], and previous dh_install call moves
cidfmap to debian/
Threfore, there is empty cidfmap in debian/
binary package.
Conclusion or how to fix:
1. Upstream cidfmap is empty, is not needed, therefore can remove.
2. binary-
to call dh_install, thefore we should to remove cidfmap in
debian/
[1] http://
[2] http://
"This is automatically set to $(CURDIR)
is one package and $(CURDIR)
[3] man dh_install
"On the other hand, maybe you have a large package that builds multiple
binary packages. You can use the upstream Makefile to install it all
into debian/tmp, and then use dh_install to copy directories and files
from there into the proper package build directories."
Related branches
- Till Kamppeter (community): Approve
- Ubuntu branches: Pending requested
-
Diff: 26 lines (+7/-1)2 files modifieddebian/changelog (+6/-0)
debian/rules (+1/-1)
Changed in ghostscript (Ubuntu): | |
status: | New → In Progress |
Changed in ghostscript (Debian): | |
status: | Unknown → New |
Changed in ghostscript (Debian): | |
status: | New → Fix Released |
@till-kamppeter /code.launchpad .net/~cosmos- door/ubuntu/ oneiric/ ghostscript/ fix-cidfmap- 853768/ +merge/ 76001
I created patch and sent to merge request. Could you review it?
https:/