You can gunzip odp file and grep xml sources.<br><br><div class="gmail_quote">On Sun, Jan 22, 2012 at 4:34 PM, Nadav Har'El <span dir="ltr"><<a href="mailto:nyh@math.technion.ac.il">nyh@math.technion.ac.il</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi, I have an 80 page OpenOffice document (Hspell's "niqqudless.odt")<br>
which I wrote, shamefully, assuming Microsoft's TrueType fonts.<br>
<br>
Now, I wanted to switch this document to use only free fonts, such as<br>
the Culmus fonts for Hebrew, Nimbus Sans for English, and the DejaVu<br>
fonts for other languages in this document (Arabic, Turkish, Greek, Russian,<br>
etc.). The result will not only be freeer - it actually looks better!<br>
<br>
Starting the transformation was easy - I modified the few main paragraph<br>
and character styles that I was using, and in a few minutes, most of the<br>
document was converted to the free fonts.<br>
<br>
But my problem is that the long document *still* uses the non-free fonts in<br>
some places. I can see this if I export the document to PDF, and run "pdffonts"<br>
on it. I indeed found a bunch of places where this happened (e.g., I<br>
explicitly used a certain font on some word, instead of relying on a style),<br>
but couldn't find *ALL* of them, so my document still depends on these<br>
non-free fonts.<br>
<br>
I wonder if anybody knows how I can use OpenOffice, or some other tool,<br>
to find *where* in the document a certain font is being used?<br>
<br>
As a last resort, I plan to open the .odt file and read the XML where<br>
this information has to exist - but before I do that, I wonder if<br>
someone knows an easier OpenOffice option, or tool, exists.<br>
<br>
Thanks,<br>
Nadav.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Nadav Har'El | Sunday, Jan 22 <a href="tel:2012" value="+9722012">2012</a>,<br>
<a href="mailto:nyh@math.technion.ac.il">nyh@math.technion.ac.il</a> |-----------------------------------------<br>
Phone <a href="tel:%2B972-523-790466" value="+972523790466">+972-523-790466</a>, ICQ 13349191 |Earth First! We can strip-mine the other<br>
<a href="http://nadav.harel.org.il" target="_blank">http://nadav.harel.org.il</a> |planets later...<br>
<br>
_______________________________________________<br>
Linux-il mailing list<br>
<a href="mailto:Linux-il@cs.huji.ac.il">Linux-il@cs.huji.ac.il</a><br>
<a href="http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il" target="_blank">http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il</a><br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br>Constantine Shulyupin<br><a href="http://www.MakeLinux.co.il/" target="_blank">http://www.MakeLinux.co.il/</a><br>Embedded Linux Systems,<br>Device Drivers, TI DaVinci<br>