[gs-devel] Embedding ttf-font in GS

Daniel Spannbauer ds at marco.de
Wed Mar 4 02:35:59 PST 2009



ademmler schrieb:
> hi,
> 
> can you try to use GS 8.63. This is much newer.
> 
> greetings Alexander

Shure, I can try this, but then I have to update a huge ammount of PCs, 
so I hoped it will be possible with 8.15

regards

Daniel



> 
> Am 04.03.2009 um 11:23 schrieb Daniel Spannbauer:
> 
>> Hello,
>>
>> I'm using GS 8.15 on a SuSE 10.2-System.
>> Now, I nedd a ttf-Font in GS.
>> The font is named han_nom_a.ttf
>> So, I put these line in Fontmap.GS in /usr/share/ghostscript/8.15/lib:
>>
>> /hannom-a   (/usr/share/ghostscript/fonts/han_nom_a.ttf)  ;
>>
>> But when I try to put a ps thru GS, I get:
>>
>>
>>              Loading NimbusRomNo9L-Regu font from 
>> /usr/share/ghostscript/fonts/n021003l.pfb... 2568236 1261266 1820196 
>> 518519 2 done.
>> Loading hannom-a font from 
>> /usr/share/ghostscript/fonts/han_nom_a.ttf... ERROR: /rangecheck in 
>> --string--
>> Operand stack:
>>    hannom-a   Font   hannom-a   518871   hannom-a   --nostringval-- 
>> hannom-a   (/usr/share/ghostscript/fonts/han_nom_a.ttf)   false 
>> --nostringval--   101098   101098
>> Execution stack:
>>    %interp_exit   .runexec2   --nostringval--   --nostringval-- 
>> --nostringval--   2   %stopped_push   --nostringval--   
>> --nostringval--   --nostringval--   false   1   %stopped_push   1   
>> 3   %oparray_pop 1   3   %oparray_pop   --nostringval--   1   3   
>> %oparray_pop   1   3 %oparray_pop   .runexec2   --nostringval--   
>> --nostringval-- --nostringval--   2   %stopped_push   
>> --nostringval--   1   3 %oparray_pop   2   3   %oparray_pop   
>> --nostringval--   --nostringval--   --nostringval--   
>> --nostringval--   --nostringval--   --nostringval--   false   1   
>> %stopped_push   5   4   %oparray_pop   --nostringval-- 
>> --nostringval--   --nostringval--   --nostringval--   --nostringval-- 
>> %array_continue   --nostringval--   --nostringval--   --nostringval-- 
>> %loop_continue   --nostringval--   --nostringval--   --nostringval-- 
>> --nostringval--   %loop_continue   --nostringval--   10 
>> --nostringval--   --nostringval--   false   1   %stopped_push 
>> --nostringval--   --nostringval--   --nostringval--   --nostringval-- 
>> --nostringval--   %array_continue   --nostringval--   --nostringval-- 
>> --nostringval--
>> Dictionary stack:
>>    --dict:1136/3371(ro)(G)--   --dict:0/20(G)--   --dict:106/200(L)--  
>> --dict:47/65(ro)(G)--   --dict:1136/3371(ro)(G)-- 
>> --dict:28/50(ro)(G)--   --dict:15/40(L)--
>> Current allocation mode is local
>> Current file position is 295
>> ESP Ghostscript 8.15.3: Unrecoverable error, exit code 1
>>
>>
>>
>>
>> Can anybody help me at this point?
>>
>> Regards
>>
>> Daniel
>>
>>
>> -- 
>> Daniel Spannbauer                         Software Entwicklung
>> marco Systemanalyse und Entwicklung GmbH  Tel   +49 8333 9233-27 Fax -11
>> Rechbergstr. 4 - 6, D 87727 Babenhausen   Mobil +49 171 4033220
>> http://www.marco.de/                      Email ds at marco.de
>> Geschäftsführer Martin Reuter             HRB 171775 Amtsgericht München
>> _______________________________________________
>> gs-devel mailing list
>> gs-devel at ghostscript.com
>> http://www.ghostscript.com/mailman/listinfo/gs-devel
> 

-- 
Daniel Spannbauer                         Software Entwicklung
marco Systemanalyse und Entwicklung GmbH  Tel   +49 8333 9233-27 Fax -11
Rechbergstr. 4 - 6, D 87727 Babenhausen   Mobil +49 171 4033220
http://www.marco.de/                      Email ds at marco.de
Geschäftsführer Martin Reuter             HRB 171775 Amtsgericht München


More information about the gs-devel mailing list