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

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

[Octave-bug-tracker] [bug #49216] title texts in qt plots are "ugly"


From: Hartmut
Subject: [Octave-bug-tracker] [bug #49216] title texts in qt plots are "ugly"
Date: Sat, 17 Dec 2016 20:33:35 -0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0

Follow-up Comment #55, bug #49216 (project octave):

I have done two more fresh mxe-octave builds with Pantxo's patch from comment
#52. And at least for my very last build I am very sure that the patch is
really applied. (I haven't done any linux tests, I just assume from Pantxo's
comments that it does work there...)

Here are my results on three Windows machines:
* I have tested on two real (= not virtual) Win7 machines. They have "real"
screen resolutions of 93dpi and 100dpi, see also bug  #45600 comment #2). The
result of Octave's "get(0, 'screenpixelsperinch')" is very close to 72 on both
those PCs. (This in physically incorrect, and Matlab gives the correct result
as well.) Those two monitors are quite different, one is a huge office
monitor, the other a tiny netbook screen. Plotting the test script of comment
#38 with my patched mxe-octave gives me a NOT CHANGED font size on both
machines. Pantxo's patch seems to NOT work on those REAL Windows Win7 PCs. But
this is what Pantxo also said in comment #54. (The "only" question here is why
Octave returns a wrong value of screenpixelsperinch.)

* I have also tested on a virtual WinXP machine. The result of "get(0,
'screenpixelsperinch')" is very close to 90, here. (The underlying Linux host
system gives a value of 96.) Plotting the test script of comment #38 with my
patched mxe-octave gives me a significantly BIGGER font size on this virutal
machine. So Pantxos patch seems to WORK on this virtual Windows XP machine. I
will attach a screenshot of this. (files "WinXP...")

My conclusions:
* The resulting title text in a qt plot with default fontname is even in the
one case, where this patch works, still "ugly" in my perception. The texts in
the "same" fontsize (14) look better, but texts with the same perceived
fontsize still have the very same appearance. So I think this patch does not
have any positive influence on this bug here. 

* But I would still very much appreciate this patch (in an improved version
that always works) as a solution to bug #45600. 

@Pantxo: Could we move our discussion about this patch over to bug #45600
accordingly?

(file #38791, file #38792)
    _______________________________________________________

Additional Item Attachment:

File name: WinXP_patched-Octave430+_Verdana.png Size:34 KB
File name: WinXP_un-patched-Octave420rc2_Verdana.png Size:30 KB


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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