|
|
pdflib: selecting utf-8 fonts?
The manual says that gnuplot is using libpdf and the way to use utf-8
encoded strings is to use a font which is also using utf-8 encoding.
But how do I find which fonts I can use or how do I make
gnuplot/libpdf search for a font in a given location?
Whatever font I'm trying to refer to (under /usr/share/fonts) results
in messages like:
Couldn't find font BitStream Vera Sans, falling back to Times-Roman
Couldn't find font FreeSans, falling back to Times-Roman
So what is the search path method used by gnuplot/libpdf?
I'm using Gentoo Linux
Thanks
Petter
--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
|
|
0
|
|
|
|
Reply
|
Petter
|
2/18/2010 12:58:14 PM |
|
Petter Gustad wrote:
>
> The manual says that gnuplot is using libpdf and the way to use utf-8
> encoded strings is to use a font which is also using utf-8 encoding.
To the best of my knowledge, only the commercial version of LIBPdf
(http://www.pdflib.com/) supports this. The free version does not.
Fortunately, you can use the new pdfcairo terminal instead.
UTF-8 should "just work" in the cairo terminals, with no special
actions needed.
Ethan
> But how do I find which fonts I can use or how do I make
> gnuplot/libpdf search for a font in a given location?
>
> Whatever font I'm trying to refer to (under /usr/share/fonts) results
> in messages like:
>
> Couldn't find font BitStream Vera Sans, falling back to Times-Roman
> Couldn't find font FreeSans, falling back to Times-Roman
>
> So what is the search path method used by gnuplot/libpdf?
>
> I'm using Gentoo Linux
>
> Thanks
> Petter
|
|
0
|
|
|
|
Reply
|
sfeam
|
2/18/2010 4:57:54 PM
|
|
sfeam <sfeam@users.sourceforge.net> writes:
> Fortunately, you can use the new pdfcairo terminal instead.
> UTF-8 should "just work" in the cairo terminals, with no special
> actions needed.
Thanks, that worked great! However pdfcairo was not included in my
current gnuplot (4.2 patchlevel 5), so I downloaded the latest CVS
version where it was supported. In what version was pdfcairo
introduced?
Petter
--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
|
|
0
|
|
|
|
Reply
|
Petter
|
2/19/2010 9:38:37 AM
|
|
Petter Gustad wrote:
> sfeam <sfeam@users.sourceforge.net> writes:
>
>> Fortunately, you can use the new pdfcairo terminal instead.
>> UTF-8 should "just work" in the cairo terminals, with no special
>> actions needed.
>
> Thanks, that worked great! However pdfcairo was not included in my
> current gnuplot (4.2 patchlevel 5), so I downloaded the latest CVS
> version where it was supported. In what version was pdfcairo
> introduced?
The cairo terminals are in 4.4, which has been available for testing
for some months with official release expected "real soon now".
|
|
0
|
|
|
|
Reply
|
sfeam
|
2/19/2010 5:09:56 PM
|
|
|
3 Replies
446 Views
(page loaded in 0.072 seconds)
Similiar Articles: xterm 2.4.3 fails to displays some of the UTF-8 characters - comp ...... webpollux.free.fr/public/D174AE93570D5CBF0E99AA4609CD6287/dump1.jp g If I select ... because the standard xterm delivered with Solaris was not displaying the UTF-8 fonts ... Russian Characters in SAS - comp.soft-sys.sasHelvetica Font dispapeared? - comp.fonts Characters in SAS ... What ... xterm 2.4.3 fails to displays some of the UTF-8 ... Can a procedure contain only a SELECT ... cannot display Chinese font - comp.soft-sys.matlabHi, I find that Current Folder cannot show Chinese Font. Also, if I use 'Find ... xterm 2.4.3 fails to displays some of the UTF-8 characters - comp ..... GB.UTF-8 ... unicode display of common characters - comp.emacsMy localization is en_US.UTF-8 UTF-8 and my emacs is 24 ... that page in galeon or firefox, a copy (mouse select; C-c ... But ... line" unicode font - comp.fonts unicode display ... "Platform default encoding" - comp.lang.java.helpOR use UTF-8 and specify UTF-8 ... Helvetica russian cyrilic font ... what encoding better to select when paste javascript or ... Unicode, Unicode big endian, UTF-8 ... Can i change the language of the Filemaker from English to ...rename fonts and change the fonts ID ?? - comp.fonts ... You can change that value via data entry. Try selecting ... ... If I catch it I can change to utf-8, but I would rather ... Solaris SunOS 5.9 Generic Terminal types - comp.unix.solaris ...What terminal type should I select for Putty when ... LC_ALL=C? - comp.unix.solaris ... sprintf(3C) && UTF-8 ... add fonts - comp.unix.solaris Adding True Type Fonts to ... setting default font size on command line - comp.emacsgetting character width of monospaced font with pdflib - comp.text ... Courier monospace ... select font name and size from command line and set it ... xterm – select font ... Times new roman vs. URW Nimbus Roman 9L? - comp.text.tex ...... as per various documents I read) that it would indeed select Times New Roman as default roman font. ... to convert it to XeLaTeX: 1) save the source as UTF-8 2 ... How to add jdom library into my jar file in eclipse - comp.lang ...... in my case, use a different font for each different character encoding. I tell Thunderbird to figure everything is UTF-8, but ... local/jdom-1.0/build directoryand select ... TET - PDFlib GmbHPDFlib TET (Text Extraction Toolkit) reliably extracts ... PDF as Unicode strings, plus detailed glyph and font ... aware languages the text is returned in the UTF-8 or UTF ... TCPDF FontsTCPDF supports TrueTypeUnicode (UTF-8 Unicode), OpenTypeUnicode, TrueType, OpenType, Type1, CID-0 and Core (standard) fonts. There are two ways to use a new font ... 7/30/2012 10:47:54 AM
|
|
|
|
|
|
|
|
|