PDF reader that lets one override fonts
Dotan Cohen
dotancohen at gmail.com
Sat Jun 7 04:57:28 UTC 2008
2008/6/6 Donn <donn.ingle at gmail.com>:
>> It is the GuttmanYad fonts that are illegible. All four are embedded.
> Yeah, I see that. I was hoping they were all 'no' and then you could find the
> fonts you want, rename them (to what the pdf wants) and drop them into
> ~/.fonts which should work.
>
> Another tack:
> I found a link:http://www.linuxjournal.com/node/1000235
> "Handy hint: You can run pdf2ps on existing PDF files and it will change
> embedded fonts to embedded font subsets, usually reducing the file size
> substantially." -- not 100% what you need, but it has a few hints.
I tried that, naturally. It took the 200 kb PDF and turned it into a
4.4 MB PS file, and preserved that terrible font as an image!
> So, perhaps pdf2ps then backwards, ps2pdf might just do it? I'm hoping for an
> error and a substitution of local fonts.
We should be so lucky.
> They also mention pdfedit (in repos):
> http://pdfedit.petricek.net/user_doc.html#gui_toolbars_text
I'm trying to use pdfedit, but it keeps hanging. I'll keep trying.
> And, here, a glimmer of hope:
> Go to ps, then back with a switch...
> ps2pdf -dEmbedAllFonts=true WonderDog.ps
> http://www.linux.com/articles/35022
As the PS file was images, the resulting PDF was images as well
instead of text. So, I tried running ps2pdf directly on the PDF file,
as I know that PDF is a subset of PS. That GutmanYad font is
persistent. It threw some errors, but completed. However, the font
stayed:
hardy2 at hardy2-laptop:~$ pdffonts chapter1_exp-1.pdf.pdf
name type emb sub uni object ID
------------------------------------ ----------------- --- --- --- ---------
Error: Illegal entry in bfrange block in ToUnicode CMap
(tens of these errors)
FHDBRN+SymbolMT-Identity-H CID TrueType yes yes yes 26 0
QLXDAR+GuttmanYadLight-Identity-H CID TrueType yes yes yes 21 0
UXGOHY+GuttmanYad-Brush-Identity-H CID TrueType yes yes yes 11 0
XKKHMO+TimesNewRomanPSMT TrueType yes yes no 8 0
Helvetica Type 1 no no no 20 0
CISDDW+GuttmanYad-Brush TrueType yes yes no 14 0
HASFFT+GuttmanYadLight TrueType yes yes no 16 0
Times-Italic Type 1 no no no 24 0
Times-Bold Type 1 no no no 18 0
Error: Illegal entry in bfrange block in ToUnicode CMap
(tens of these errors)
KNBAAA+MT-Extra-Identity-H CID TrueType yes yes yes 48 0
Error: Illegal entry in bfrange block in ToUnicode CMap
(tens of these errors)
Helvetica-Bold Type 1 no no no 60 0
Error: Illegal entry in bfrange block in ToUnicode CMap
(tens of these errors)
WVBDTP+TimesNewRomanPSMT-Identity-H CID TrueType yes yes yes 68 0
Error: Illegal entry in bfrange block in ToUnicode CMap
(tens of these errors)
Dotan Cohen
http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
More information about the kubuntu-users
mailing list