Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #400

Re: {/Symbol w} chooses letter omega fom DejaVu font, not Symbol

From James Waldby <not@valid.invalid>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: {/Symbol w} chooses letter omega fom DejaVu font, not Symbol
Date 2011-06-24 16:10 +0000
Organization A noiseless patient Spider
Message-ID <iu2css$g23$2@dont-email.me> (permalink)
References <8639izzgx6.fsf@aiuole.stru.polimi.it>

Show all headers | View raw


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

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

{/Symbol w} chooses letter omega fom DejaVu font, not Symbol Giacomo Boffi <giacomo.boffi@polimi.it> - 2011-06-24 12:01 +0200
  Re: {/Symbol w} chooses letter omega from DejaVu font, not Symbol James Waldby <not@valid.invalid> - 2011-06-24 15:19 +0000
  Re: {/Symbol w} chooses letter omega fom DejaVu font, not Symbol James Waldby <not@valid.invalid> - 2011-06-24 16:10 +0000
    Re: {/Symbol w} chooses letter omega fom DejaVu font, not Symbol Giacomo Boffi <giacomo.boffi@polimi.it> - 2011-06-25 14:44 +0200
      Re: {/Symbol w} chooses letter omega fom DejaVu font, not Symbol James Cloos <cloos@jhcloos.com> - 2011-07-02 14:39 -0400
        Re: {/Symbol w} chooses letter omega fom DejaVu font, not Symbol Giacomo Boffi <giacomo.boffi@polimi.it> - 2011-07-25 22:44 +0200

csiph-web