[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #57352] text height for blank line is not the
From: |
Pantxo Diribarne |
Subject: |
[Octave-bug-tracker] [bug #57352] text height for blank line is not the same as for a line with text |
Date: |
Wed, 4 Dec 2019 09:20:12 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0 |
Update of bug #57352 (project octave):
Category: Plotting => Plotting with OpenGL
_______________________________________________________
Follow-up Comment #1:
>> When there are multiple lines in a text() command, Matlab uses the same
vertical spacing for every line.
I tried the following example in ML:
text (.5, .5, {"a", "b^C_D", "e", "f", "", "g"})
So to be exact, ML seems to put a fixed distance between bottom of line N and
top of line N+1. You can see in the attached figures that the distance between
all baselines is not the same ((1->2)>(3->4)).
As for small characters (".", " ", "-", "" ...), we could probably obtain the
same effect by fixing a minimal height, e.g 0.5fontsize.
(file #47992, file #47993)
_______________________________________________________
Additional Item Attachment:
File name: ML_text.png Size:1 KB
<https://savannah.gnu.org/file/ML_text.png?file_id=47992>
File name: Octave_text.png Size:0 KB
<https://savannah.gnu.org/file/Octave_text.png?file_id=47993>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?57352>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/