Bug 250057 - no CJK support
Summary: no CJK support
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: ghostscript
Version: 8
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 393581 (view as bug list)
Depends On:
Blocks: F8Target
TreeView+ depends on / blocked
 
Reported: 2007-07-30 07:24 UTC by Akira TAGOH
Modified: 2007-12-20 19:52 UTC (History)
3 users (show)

Fixed In Version: 8.61-5.fc8
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-12-20 19:52:55 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
testcase (2.35 KB, text/plain)
2007-07-30 07:24 UTC, Akira TAGOH
no flags Details

Description Akira TAGOH 2007-07-30 07:24:24 UTC
Description of problem:
The latest ghostscript doesn't support CJK anymore.

Version-Release number of selected component (if applicable):
8.60-0.svn8117.2.fc8

How reproducible:
always

Steps to Reproduce:
1.gs -sDEVICE=x11 article9.ps
2.
3.
  
Actual results:
Error: /rangecheck in --widthshow--

Expected results:
shows Japanese text in a window.

Additional info:

Comment 1 Akira TAGOH 2007-07-30 07:24:30 UTC
Created attachment 160218 [details]
testcase

Comment 2 Sammy 2007-08-13 13:40:57 UTC
The CJK patches by Koji Otani was just checked in to the ghostscript trunk,
svn revision 8185.
FYI

Comment 3 Jens Petersen 2007-10-02 08:05:44 UTC
Is it possible to get those patches included in F8?

Comment 4 Tim Waugh 2007-10-02 09:47:23 UTC
There had been regressions reported by the developers.  I should be able to pull
in a new snapshot, but I'd been hoping for a newer release.

Comment 5 Akira TAGOH 2007-10-02 10:06:27 UTC
How about just backporting CJKV patches from ESP gs? apparently it's different
thing to what the changes committed into svn once.

Comment 6 Tim Waugh 2007-10-03 12:47:55 UTC
Looking more closely at SVN it looks like the CJK patches were actually reverted.

I would much rather follow upstream on this (now that it's GPL) rather than
carrying other patches around.

Comment 7 Tim Waugh 2007-11-21 14:30:20 UTC
*** Bug 393581 has been marked as a duplicate of this bug. ***

Comment 8 Akira TAGOH 2007-11-22 01:27:54 UTC
f8 bug? I can still see this bug on devel too.

Comment 9 CHIKAMA Masaki 2007-11-23 02:39:42 UTC
Version 8.61 released, but it only includes a small part of the CJK patches.
Moreover, one of ghostscript developer have doubts about current configuration
of Fedora's ghostscript m17n. That is the usage of cidfmap.ja etc.

What do you think about it ?
Do we need more wide discussion ?

Comment 10 CHIKAMA Masaki 2007-11-23 02:45:47 UTC
(In reply to comment #9)
> That is the usage of cidfmap.ja etc.
It's not clear, sorry.

Why do currnt cidfmap only include .ja, ko, zn_CN and zn_TW ? 
Why not others like Arabic or Serbian ?

Comment 11 Akira TAGOH 2007-11-25 07:07:38 UTC
(In reply to comment #10)
> (In reply to comment #9)
> > That is the usage of cidfmap.ja etc.
> It's not clear, sorry.
> 
> Why do currnt cidfmap only include .ja, ko, zn_CN and zn_TW ? 
> Why not others like Arabic or Serbian ?

First, That's up to the each font packages. which files ghostscript reads are
currently hard-coded though, IMHO eventually it should becomes the sort of
add-ons, because we are free to add the fonts into the distribution as long as
it can be freely used and no license issues. making all the changes every times
in ghostscript package isn't suitable IMHO.
Second, there is no CMaps for Arabic and Serbian etc AFAIK. what currently
ghostscript supports for TrueType/OpenType fonts is to convert to CID font.
which means at least one CMap is required. presumably the font needs to be
embedded as Type3 or Type42 into PostScript for those languages. but I thought
cidfmap isn't to do that. Anyway, it should be filed separately to each font
packages though, I have no idea what the expected configuration for them is.


Comment 12 CHIKAMA Masaki 2007-11-27 10:19:53 UTC
(In reply to comment #11)
> > Why do currnt cidfmap only include .ja, ko, zn_CN and zn_TW ? 
> > Why not others like Arabic or Serbian ?
> 
> First, That's up to the each font packages. which files ghostscript reads are
> currently hard-coded though, IMHO eventually it should becomes the sort of
> add-ons, because we are free to add the fonts into the distribution as long as
> it can be freely used and no license issues. making all the changes every times
> in ghostscript package isn't suitable IMHO.

But a ghostscript package should provide mechanism to support add-ons.
Current build configuration of ghostscript disallows reading  
/usr/share/ghostscript/lib/cidfmap, instead only it allows reading ./cidfmap .

So I propose to build the ghostscript with "--disable-compile-inits" 
for the first step. This option enables gs to read
/usr/share/ghostscript/lib/cidfmap and other resource data when it start up.

Comment 13 Fedora Update System 2007-11-29 01:32:15 UTC
ghostscript-8.61-1.fc8 has been pushed to the Fedora 8 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update ghostscript'

Comment 14 CHIKAMA Masaki 2007-11-29 11:01:51 UTC
(In reply to comment #13)
With ghostscript-8.61-1.fc8, I think some of problem are solved.
Now we should file a new bug related to CJK support which isn't solved 
even at upstream. For example, Japanese virtical writing problem.

Comment 15 Fedora Update System 2007-12-03 11:38:27 UTC
ghostscript-8.61-4.fc8 has been pushed to the Fedora 8 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update ghostscript'

Comment 16 Fedora Update System 2007-12-12 19:52:26 UTC
ghostscript-8.61-4.fc8 has been pushed to the Fedora 8 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update ghostscript'

Comment 17 Fedora Update System 2007-12-15 17:49:12 UTC
ghostscript-8.61-5.fc8 has been pushed to the Fedora 8 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update ghostscript'

Comment 18 Fedora Update System 2007-12-20 19:52:48 UTC
ghostscript-8.61-5.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.