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

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

[Octave-bug-tracker] [bug #52150] all plot functions throw errors when b


From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #52150] all plot functions throw errors when built with --without-fontconfig
Date: Mon, 2 Oct 2017 17:13:00 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Follow-up Comment #6, bug #52150 (project octave):

>> If a font file were included that Octave could rely on unconditionally,
would this still require the freetype library? 

Yes freetype is still needed but not fontconfig:
fontconfig takes care of matching fontnames to actual fonts files installed on
its path. freetype does all the rest (font scaling, metrics, rasterization
...).

>> So would this be a new implementation of the text_renderer base class? When
I looked into this I saw that it's set up to allow different implementations
but uses freetype/fontconfig unconditionally for now. 

No need for a new implementation since we would still have to use freetype,
just provide a default file name here:
http://octave.org/doxygen/4.2/dd/d49/ft-text-renderer_8cc_source.html#l00263

We could even map the special "*" fontname to the distributed font file (and
FreeSans looks like a good choice indeed).



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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