Getting rid of proprietary fonts
Orna Agmon Ben-Yehuda
ladypine at gmail.com
Sun Jan 22 21:54:51 IST 2012
On Sun, Jan 22, 2012 at 4:34 PM, Nadav Har'El <nyh at math.technion.ac.il>wrote:
> Hi, I have an 80 page OpenOffice document (Hspell's "niqqudless.odt")
> which I wrote, shamefully, assuming Microsoft's TrueType fonts.
>
> Now, I wanted to switch this document to use only free fonts, such as
> the Culmus fonts for Hebrew, Nimbus Sans for English, and the DejaVu
> fonts for other languages in this document (Arabic, Turkish, Greek,
> Russian,
> etc.). The result will not only be freeer - it actually looks better!
>
> Starting the transformation was easy - I modified the few main paragraph
> and character styles that I was using, and in a few minutes, most of the
> document was converted to the free fonts.
>
> But my problem is that the long document *still* uses the non-free fonts in
> some places. I can see this if I export the document to PDF, and run
> "pdffonts"
> on it. I indeed found a bunch of places where this happened (e.g., I
> explicitly used a certain font on some word, instead of relying on a
> style),
> but couldn't find *ALL* of them, so my document still depends on these
> non-free fonts.
>
> I wonder if anybody knows how I can use OpenOffice, or some other tool,
> to find *where* in the document a certain font is being used?
>
>
I can suggest some ideas, since I spent today hunting fonts in a pdf
document, and I know you are an xfig fan. I found that filling with pattern
in xfig creates a type 3 font (use filled to get rid of this), and that the
default xfig fonts are postscript fonts, the default of which is times new
roman (use latex fonts to get rid of this, and set the "special flag" flag
to "special". I could not get rid of these fonts unless I changed the font
in the figure and exported the figure again. For the pattern, I had to
re-edit each patterned object, and this included a thick dashed line.
> As a last resort, I plan to open the .odt file and read the XML where
> this information has to exist - but before I do that, I wonder if
> someone knows an easier OpenOffice option, or tool, exists.
>
> Thanks,
> Nadav.
>
> --
> Nadav Har'El | Sunday, Jan 22
> 2012,
> nyh at math.technion.ac.il
> |-----------------------------------------
> Phone +972-523-790466, ICQ 13349191 |Earth First! We can strip-mine the
> other
> http://nadav.harel.org.il |planets later...
>
> _______________________________________________
> Linux-il mailing list
> Linux-il at cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
--
Orna Agmon Ben-Yehuda.
http://ladypine.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20120122/84597b63/attachment.html>
More information about the Linux-il
mailing list