octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #43907] OpenGL render code called even when gn


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #43907] OpenGL render code called even when gnuplot is graphics_toolkit
Date: Wed, 01 Jul 2015 21:26:47 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.2.0

Follow-up Comment #23, bug #43907 (project octave):

On my system, "arial" ultimately becomes "Liberation Sans" so that's what the
ft_render class sees as the font.

@rik: aren't we already iterating over the string one character at a time to
find the glyphs?

Would something like the attached patch work OK?

In addition to trying a font substitution, we could also just use a space
character if we are computing the bounding box and the font doesn't have the
requested character.  It seems like that would be reasonable since it is
probably OK in most cases if the bounding box is not perfect.

(file #34356)
    _______________________________________________________

Additional Item Attachment:

File name: diffs.txt                      Size:1 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?43907>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]