【发布时间】:2019-03-23 21:04:58
【问题描述】:
我目前正在尝试将一些 TrueType 字体添加到我当前的 Ghostscript 设置中。 (Windows 10、Ghostscript 9.25、64 位)
我正在编辑文件夹 C:\Program Files\gs\gs9.25\Resource\Init 中的 Fontmap.GS 文件,但不知何故这不会改变行为。 Ghostscript 仍然用 Helvetiva-BoldMT 代替 Arial-BoldMT,即使我已经指定了在这种情况下使用的字体:
/ArialMT (arial.ttf) ;
/Arial-BoldMT (arialbd.ttf) ;
/Arial-ItalicMT (ariali.ttf) ;
/Arial-BoldItalicMT (arialbi.ttf) ;
你知道是否有办法更新 Fontmap 吗? (或者可能正在使用另一个 Fontmap 文件,而我正在编辑错误的文件?)
这是我在转换使用 Arial-BoldMT(未嵌入)的文档时得到的 shell 答案:
gswin64c -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -dAutoRotatePages=/None -sOutputFile=bt_c.pdf bt.pdf
GPL Ghostscript 9.25 (2018-09-13)
Copyright (C) 2018 Artifex Software, Inc. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Processing pages 1 through 1.
Page 1
Querying operating system for font files...
Substituting font Helvetica-Bold for Arial-BoldMT.
Loading NimbusSans-Bold font from %rom%Resource/Font/NimbusSans-Bold... 4854008 3414088 2431224 1058145 3 done.
字体文件本身放在C:\Program Files\gs\gs9.25\Resource\Font
非常感谢您!
【问题讨论】:
标签: pdf ghostscript