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: PlottingSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Regression
Status: NoneAssigned to: None
Originator Name: Open/Closed: Open
Release: devOperating 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 File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


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

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

    Only project members can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    No Changes Have Been Made to This Item

    Back to the top

    Powered by Savane 3.1-cleanup1