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: H. G.
Subject: [Octave-bug-tracker] [bug #45600] fontsize in qt plots too small under Windows
Date: Thu, 23 Jul 2015 18:39:28 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:39.0) Gecko/20100101 Firefox/39.0

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

The attached plots in my first posts were produced on TWO different computers,
one runs with Ubuntu Linux, the other one with Windows 7. Here are the
details:

* The Win7 machine (producing qt plots with "too small" texts) is an office PC
with a big monitor attached. The monitor is 525 mm wide and uses 1920 pixels
over its width (=93 dpi in reality). The output of Matlab for the
screenpixelsperinch is 116.
* On the same Win7 PC, the output of Octave 4.0.0 (as well as Octave
3.8.2-mxe-3) for screenpixelsperinch is only 72.046 . 
* The Ubuntu machine (=second computer, producing qt plots with "visually
proper" text size) is a laptop with a screen width of 345mm, using 1366 pixels
over its width (=100 dpi in reality). The output of Octave for
screenpixelsperinch is 96.103 here.
* addition: I have now also tested this on a THIRD laptop , a small netbook,
also running Windows 7. Here the screen is only 255mm wide, using 1366 pixels
in width. (=136dpi in reality). The output of Octave 4.0.0 for
screenpixelsperinch is here 71.983. And the resulting plots are very similar
(Win7, qt) to the ones the large Win7 PC with Octave, i.e. they seem to have a
too small text font. Those plots seem to even have a very slightly smaller
font size on this netbook. I will attach a screenshot from this netbook as
well (Win7-smallScreen+Oct400+qt.png)

Summary so far:
* On the first Win7 PC, the value of screenpixelsperinch is very different
between Matlab (=116) and Octave (=72.046).
* The values for screenpixelsperinch are always fractional in Octave. They
seem to be integer in Matlab (but for Matlab only tested on one single PC).
* Two different computers, both with Windows 7 as OS, but with very different
screen sizes (12 inch netbook versus huge office monitor), give nearly the
same result for screenpixelsperinch (71.983 @ 1366 pixels, versus 72.046 @
1920pixels). And they produce very similar qt plots under Octave. The fontsize
in the screenshots is very, very similar, but on the small screen (slightly
bigger screenpixelsperinch) the text fonts seems to be slightly bigger (but
the difference is marginal.)

So far my "data" input. But I cannot judge if this is information connected
with the original problem of too small text fonts in qt plots.

PS: Thanks for the hint to work around this via the .octaverc file, Pantxo.
That's exactly what I do for myself. But in the long run I would like to see
the most commonly used setup (i.e. Octave on Windows with qt plotting) work
out of the box. Without the need (for new users) to tweak anything. I hope we
can make this happen.

(file #34494)
    _______________________________________________________

Additional Item Attachment:

File name: Win7-smallScreen+Oct400+qt.png Size:26 KB


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.gnu.org/




reply via email to

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