Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: James Waldby Newsgroups: comp.graphics.apps.gnuplot Subject: Re: {/Symbol w} chooses letter omega fom DejaVu font, not Symbol Date: Fri, 24 Jun 2011 16:10:04 +0000 (UTC) Organization: A noiseless patient Spider Lines: 39 Message-ID: References: <8639izzgx6.fsf@aiuole.stru.polimi.it> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Fri, 24 Jun 2011 16:10:04 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="OAvC6XS0NcIQcGJcjYhOHA"; logging-data="16451"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18elWEazhWjtRFTuhoZEYhN" User-Agent: Pan/0.133 (House of Butterflies) Cancel-Lock: sha1:nlMGe2c4r2Oc0J6UcqrhrTYb1uU= Xref: x330-a1.tempe.blueboxinc.net comp.graphics.apps.gnuplot:400 On Fri, 24 Jun 2011 12:01:57 +0200, Giacomo Boffi wrote: [re letter omega being taken from DejaVu font, not Symbol] > this happens when i use the pdfcairo terminal, that uses the pango > library to render text > > # cat test.gp > set term pdfcairo enhanced font "Utopia" set out 'test.pdf' > set xlabel "{/Symbol w}t" > plot sin(x) t "sin({/Symbol w}t)" > set out > # fc-match symbol ; fc-match utopia > Symbol.pfb: "Symbol" "Regular" > putr8a.pfb: "Utopia" "Regular" > # pdffonts test.pdf > name type emb sub uni object ID > ---------------------------- ----------------- --- --- --- --------- > TPHAFU+Utopia Type 1 yes yes yes 5 0 > KKVWMP+DejaVuSans CID TrueType yes yes yes 6 0 # > > is this a problem with gnuplot or a problem with pango? please help as > the symbol font that is used in my plots doesn't match very well with > the text font Please ignore my earlier reply; because the omega should have been drawn from the Symbol font, it apparently shouldn't matter that Utopia doesn't have Greek letters. (It might be better to be able to specify within gnuplot the name of a symbols font, rather than that name being externally specified -- eg, gnuplot's help pdfcairo seems to say to use 'usual fonts subsystems' for Symbol font control.) Anyhow, as a work-around for the specific omega problem, if you scale the omega to be a little smaller it may look good enough. For example: set xlabel "{/Symbol=5 w}t" plot sin(x) t "sin({/Symbol=5 w}t)" -- jiw