Opened 19 years ago
Closed 19 years ago
#6973 closed defect (later)
UPDATE: ghostscript-8.51
Reported by: | tatyana@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.0 |
Keywords: | Cc: | digdog@…, tatyana@… | |
Port: |
Description
Plain ghostscript does not have any Asian (e.g. Japanese, Chinese, Korean, and so on.) fonts. If you want to print some *exotic* documents, you have to install some additional fonts and CMaps manually. This is not so efficiently, isn't it.
I thought that DarwinPorts' powerful "variants" option makes this problem solve. And I wrote a patch. Please see the attachment file.
usage) If we want to print Japanese text using ghostscript, all we have to do is typing "+hiragino +aj16". Hiragino fonts and Adobe Japan 1-6 CMap files are installed with gs automatically.
Would you mind to accept this patch?
Sincerely.
Attachments (4)
Change History (13)
Changed 19 years ago by tatyana@…
Attachment: | Portfile.diff added |
---|
comment:1 Changed 19 years ago by tatyana@…
attachments.isobsolete: | 0 → 1 |
---|
comment:2 Changed 19 years ago by tatyana@…
Cc: | tatyana@… added |
---|
comment:3 Changed 19 years ago by tatyana@…
attachments.isobsolete: | 0 → 1 |
---|
comment:4 Changed 19 years ago by digdog@…
Since the opentype fonts in the system library are only exist in Mac OS X, and not available for OpenDarwin, I think the variant hiragino part might be a problem.
However, I had no questions on CMap releated variants.
comment:5 Changed 19 years ago by jmpp@…
(In reply to comment #4)
Since the opentype fonts in the system library are only exist in Mac OS X, and not available for OpenDarwin, I think the variant hiragino part might be a problem.
What about including these in a "macosx" platform section? That would not include OpenDarwin, hence no conflict.
-jmpp
PS: Without having read too deep into the patch, nor ghostscript's build system (therefore suggesting to take this comment with a grain of salt), I'd like to point out the proposed portfile is a bit too "turing complete", i.e. it attemps to solve manually some things which our infrastructure already handles quite well. I'd suggest writing something that simplifies the variants and relies a bit more on our {pre,post}-<target> and <variable>-{delete,append} hooks.
comment:6 Changed 19 years ago by tatyana@…
(In reply to comment #4)
Since the opentype fonts in the system library are only exist in Mac OS X, and not available for OpenDarwin, I think the variant hiragino part might be a problem.
I think there is no serious issue, because
- Nothing will be changed unless using "+hiragino" explicitly.
- By definition, peoples who already have Hiragino fonts can use this variant.
- Even if you haven't Hiragino fonts, nor OSX, you can buy it as an independent product.
(the font is a product of Dainippon Screen Mfg. Co.ltd.)
Since Hiragino font is widely used in Japan, i think it is worthy and important to support it in gs.
comment:7 Changed 19 years ago by tatyana@…
(In reply to comment #5)
the proposed portfile is a bit too "turing complete"
How embarrassing.. (/) What you say is absolutely right. I fixed it. Thanks to point out.
comment:8 Changed 19 years ago by tatyana@…
attachments.isobsolete: | 0 → 1 |
---|
comment:9 Changed 19 years ago by tatyana@…
Resolution: | → later |
---|---|
Status: | new → closed |
Portfile.diff