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

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

[Octave-bug-tracker] [bug #45600] fontsize in qt plots too small under W


From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #45600] fontsize in qt plots too small under Windows
Date: Wed, 22 Jul 2015 13:38:07 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:39.0) Gecko/20100101 Firefox/39.0

Follow-up Comment #1, bug #45600 (project octave):

Thanks for your report. We use freetype/fontconfig to draw characters on both
platforms so there may be something wrong with those libraries on Windows or
it could be related to the screen resolution.
Were all those screenshots produced on the same machine? If so, is the screen
resolution used by the graphics system consistent between Win/Linux,
Matlab/Octave. You can get it using e.g:


get (0, "screenpixelsperinch")


For me the result is ~95 (on linux mint 17.1) and the on-screen figure looks
more like the one you obtain in windows, see attachment.

Anyway, the default fontsize is the same on all platforms so the only way to
"change" this is to find the origin of the issue.
The workaround is to change the default fontsize before plotting, e.g.


set (0, "defaultaxesfontsize", 12)
set (0, "defaulttextfontsize", 12)


This is actually what I have in my .octaverc (which I didn't load to produce
the screenshot) as even on linux, 10 pts is not big enough for aging eyes. 

(file #34488)
    _______________________________________________________

Additional Item Attachment:

File name: Mint17.png                     Size:17 KB


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message posté via/par Savannah
  http://savannah.gnu.org/




reply via email to

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