bugGNU Octave - Bugs: bug #52765, FreeSans default font is non...


bug #52765: FreeSans default font is non portable in svg printout

Submitted by:  Pantxo Diribarne <pantxo>
Submitted on:  Sat 30 Dec 2017 01:01:08 PM UTC  
Category:  Plotting Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Regression
Status:  None Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  dev Operating System:  Any

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sat 30 Dec 2017 01:01:08 PM UTC, original submission:

FreeSans is now used as the default font. Octave has a copy of this font but SVG viewers don't have access to it on systems where this font is not installed (typically all non linux systems). On Windows, I tried to open an svg produced with the current dev Octave and Inkscape chooses to replace FreeSans by some fallback sans serif font which has very different character spacing. This leads to ugly text rendering.

I see no easy way to handle this:

  • ask users to install FreeSans (the otf font file is present in the Octave install dir)
  • use css style font-family specification to suggest a fallback font (probably Helvetica) which has spacing characteristics closer to FreeSans than the default fallback font (verdana??). Something like
  • check that FreeSans is installed (use font-config for this) and if not, use the matching font for "Helvetica" when printing.
Pantxo Diribarne <pantxo>
Project Member


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by pantxo (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.




    No changes have been made to this item

    Back to the top

    Powered by Savane 3.3