如何让pstoedit将CID Type0C字体作为文本处理?

时间:2016-06-17 13:37:15

标签: pdf svg fonts ghostscript

我正在尝试将pdf转换为svg。问题是文本被转换为路径而不是文本元素。

我用“mutool draw”创建了pdf(没有选项)。

创建的pdf上的pdffonts输出:

Syntax Warning: Mismatch between font type and embedded font file
name                                 type              encoding         emb sub uni object ID
------------------------------------ ----------------- ---------------- --- --- --- ---------
ArialMT                              CID Type 0C       Identity-H       yes no  yes      8  0

然后我调用pstoedit(没有选项)将pdf转换为svg。详细输出包括ghostscript调用:

now calling the interpreter via: /usr/bin/gs -dDELAYBIND -dWRITESYSTEMDICT -dESTACKPRINT -dNODISPLAY -dNOEPS  "/home/chris/Documents/TTC/InteractiveSchematics/01conversion/psinW0yKlN"
GPL Ghostscript 9.10 (2013-08-30)
Copyright (C) 2013 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
Warning: ArialMT seems to be a non text font - you may want to use -dt or -adt.
Warning: ArialMT seems to be a non text font - you may want to use -dt or -adt.
Warning: ArialMT seems to be a non text font - you may want to use -dt or -adt.
Warning: ArialMT seems to be a non text font - you may want to use -dt or -adt.
Warning: ArialMT seems to be a non text font - you may want to use -dt or -adt.
Warning: ArialMT seems to be a non text font - you may want to use -dt or -adt.

These warnings are repeated ad nauseam...

生成的svg文件看起来很棒,但文本不可搜索/可选。有人可以帮忙吗?我想更好地理解这个字体业务......

0 个答案:

没有答案