problem with font size displaying
problem with font size displaying
Hello,
I find it very annoying that when you select a text object using the text tool, the font size does not update in the corresponding box. It seems to me like a bug, but i just updated from 0.46 to 0.47 and it's still here, so I guess it must be a feature ? But how do you know what font size uses a text object ? What purpose does it serve to keep the last font size used when you select a new text object ?
I would highly apreciate any hint on how to solve this.
Thanks in advance.
I find it very annoying that when you select a text object using the text tool, the font size does not update in the corresponding box. It seems to me like a bug, but i just updated from 0.46 to 0.47 and it's still here, so I guess it must be a feature ? But how do you know what font size uses a text object ? What purpose does it serve to keep the last font size used when you select a new text object ?
I would highly apreciate any hint on how to solve this.
Thanks in advance.
Re: problem with font size displaying
e.
Last edited by druban on Tue May 28, 2013 8:13 pm, edited 1 time in total.
Your mind is what you think it is.
Re: problem with font size displaying
Hello,
thank you for your reply, but no, selecting some, or all, of the characters, doesn't update the font size box.
thank you for your reply, but no, selecting some, or all, of the characters, doesn't update the font size box.
Re: problem with font size displaying
Does it only happen with 'Flowed Text' or regular Text objects as well?
Re: problem with font size displaying
wfm with Inkscape 0.47 on OS X 10.5.8 with regular text objects created in a new document in various sizes. Can you attach a sample document where this bug happens? Are the documents you edit created with Inkscape (if so, which version) or another software?
Re: problem with font size displaying
Hello,
I just create a new doc with Inkscape, create 2 text boxes with two different font sizes, and then select the first one again. Do you still want a sample file ?
I use Inkscape 0.47 on Suse 11.
Thank you for your replies.
I just create a new doc with Inkscape, create 2 text boxes with two different font sizes, and then select the first one again. Do you still want a sample file ?
I use Inkscape 0.47 on Suse 11.
Thank you for your replies.
Re: problem with font size displaying
why not ;-) then at least we might get closer to know whether it is an issue with the build (or maybe one of the shared libraries) that SUSE provides (or did you build it yourself?) or the font or… I don't know?freewol wrote:Do you still want a sample file ?
Re: problem with font size displaying
Just to make sure we really do talk about the same thing: the font size displayed in the font tool controls bar switches to whatever size is used for the currently selected text object but it doesn't pick it up from there for a new text object. The size of a new text object needs to be changed if necessary before entering the text, otherwise it will be in the same size of the last entered text.
Re: problem with font size displaying
Hum, I'm not sure i made myself clear.
What you explain seems to me like the logical behavior.
But what is not working for me is that part : "the font size displayed in the font tool controls bar switches to whatever size is used for the currently selected text object". It never switches to anything, except if I enter a new size (but it's not switching).
And I have no way to upload a file right now, I will try to do it in a few hours, maybe a few days.
Thanks again.
What you explain seems to me like the logical behavior.
But what is not working for me is that part : "the font size displayed in the font tool controls bar switches to whatever size is used for the currently selected text object". It never switches to anything, except if I enter a new size (but it's not switching).
And I have no way to upload a file right now, I will try to do it in a few hours, maybe a few days.
Thanks again.
Re: problem with font size displaying
Hum, I just thought that I was able to easily copy/past my picture, since SVG is XML
Here it is :
Here it is :
Code: Select all
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="210mm"
height="297mm"
id="svg2"
version="1.1"
inkscape:version="0.47 r22583"
sodipodi:docname="essai.svg">
<defs
id="defs4">
<inkscape:perspective
sodipodi:type="inkscape:persp3d"
inkscape:vp_x="0 : 526.18109 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_z="744.09448 : 526.18109 : 1"
inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
id="perspective10" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="1.4"
inkscape:cx="370.68135"
inkscape:cy="542.30499"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
inkscape:window-width="1680"
inkscape:window-height="979"
inkscape:window-x="0"
inkscape:window-y="25"
inkscape:window-maximized="1" />
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Calque 1"
inkscape:groupmode="layer"
id="layer1">
<text
xml:space="preserve"
style="font-size:22px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Serif;-inkscape-font-specification:Serif"
x="214.28571"
y="506.64789"
id="text2816"><tspan
sodipodi:role="line"
id="tspan2818"
x="214.28571"
y="506.64789"
style="font-size:18px">test2 : 18</tspan></text>
<text
xml:space="preserve"
style="font-size:18px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Liberation Serif;-inkscape-font-specification:Liberation Serif"
x="248.57143"
y="389.50504"
id="text2820"><tspan
sodipodi:role="line"
id="tspan2822"
x="248.57143"
y="389.50504"
style="font-size:10px">test1 : 10</tspan></text>
<text
xml:space="preserve"
style="font-size:22px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Lohit Tamil;-inkscape-font-specification:Lohit Tamil"
x="432.85715"
y="510.93362"
id="text2824"><tspan
sodipodi:role="line"
id="tspan2826"
x="432.85715"
y="510.93362"
style="font-size:36px">test3 : 36</tspan></text>
<flowRoot
xml:space="preserve"
id="flowRoot3433"
style="fill:black;stroke:none;stroke-opacity:1;stroke-width:1px;stroke-linejoin:miter;stroke-linecap:butt;fill-opacity:1;font-family:Bitstream Vera Sans;font-style:normal;font-weight:normal;font-size:40px"><flowRegion
id="flowRegion3435"><rect
id="rect3437"
width="324.28571"
height="142.85715"
x="90"
y="128.07646" /></flowRegion><flowPara
id="flowPara3439" /></flowRoot> </g>
</svg>
Re: problem with font size displaying
testing your document in Inkscape 0.47 and Inkscape r8860 (built from lp:inkscape) on OS X 10.5.8:
- font-size of objects with either generic font specification ('Serif') or with an installed font ('Liberation Serif') is updated in the font tool controls bar when selecting the text object with the text tool (both for single-click without selecting any characters and multi-clicks)
- font-size of text objects with missing font ('Lohit Tamil') is not updated in the font tool controls bar when selecting the text object with the text tool (both for single-click without selecting any characters and multi-clicks)
- there are two font size definitions for each text object in your drawing: the <svg:text> usually has the overall font size (if font-size was not changed uses the default size) and the inner element <svg:tspan> (here the font-size gets added when size is applied to a selection resp. the whole line when triply-clicking the text).
The status bar apparently shows the font size of the <svg:text> element when activiating the text object with the select tool, switching to the text tool then updates its information displayed in the text tool controls bar with values from the active <svg:tspan> element (partly inherited from parent <svg:text>).
I know there are reported issues where the <svg:tspan> properties don't get updated correctly when editing multi-line objects (especially the 'line-height' has issues when changed in the 'Text and Font…' dialog), but I cannot see this causing the issue you have with the font-size not updated on the controls bar.
Re: problem with font size displaying
Hello,
You found the solution, thank you !
In fact, the exact issue is that if the fond used is missing on the system.
I don't know why I tried to change the fonts used in the test file (I never did that on my real file), but it's working (I should've seen it before uploading it though, I discovered it right now doing tests with fonts).
So the issue with Suse is that the default font, which is "Bitstream Vera Sans", is not present on the system ... Next step, trying to change the default font, or maybe easier, install the "Bitstream Vera Sans" on my system.
Thanks again for your help.
You found the solution, thank you !
In fact, the exact issue is that if the fond used is missing on the system.
I don't know why I tried to change the fonts used in the test file (I never did that on my real file), but it's working (I should've seen it before uploading it though, I discovered it right now doing tests with fonts).
So the issue with Suse is that the default font, which is "Bitstream Vera Sans", is not present on the system ... Next step, trying to change the default font, or maybe easier, install the "Bitstream Vera Sans" on my system.
Thanks again for your help.
Re: problem with font size displaying
freewol wrote:Hum, I'm not sure i made myself clear.
What you explain seems to me like the logical behavior.
But what is not working for me is that part : "the font size displayed in the font tool controls bar switches to whatever size is used for the currently selected text object". It never switches to anything, except if I enter a new size (but it's not switching).
And I have no way to upload a file right now, I will try to do it in a few hours, maybe a few days.
Thanks again.
I've been seeing this a lot lately. Seems like it didn't use to have this problem.
I just hit it today when using the Render -> Calendar extension (actually, a slightly modified version that lets you select the Font - will post it here at some point). I want to check the font size it ends up using by selecting the text object (e. g., a single day number), and then switching to the Text Tool. But it doesn't show the current font size. Even worse, when you bring up the Text and Font dialog, the Font Name and Font Size are unselected/blank!
I'm on WinXP with 0.47.
Re: problem with font size displaying
H
Last edited by druban on Tue May 28, 2013 8:14 pm, edited 1 time in total.
Your mind is what you think it is.
Re: problem with font size displaying
I suspect that your issue is connected to this custom extension. Already in the original version that comes with Inkscape 0.47 (mind you - afaik it is an updated version compared to the one included with Inkscape 0.46) you have to choose the correct 'Char encoding' as first step on the 'Localization' tab. So - if others try to reproduce the font selection glitches you see - it would be helpful to have at least one, better both ofKjohrf wrote:I just hit it today when using the Render -> Calendar extension (actually, a slightly modified version that lets you select the Font - will post it here at some point).
- the SVG file with the inserted (custom) Calendar
- the custom version of the extension (both (*.inx) and (*.py) files)
The calendar inserted by the extension included with Inkscape 0.47 on OS X (see attached SVG file) uses 'Arial' for all text and the font-size is correctly updated in the font tool controls bar when I select different text objects inserted by the extension:
- Attachments
-
- calendar2009_utf-8_047osx.svg
- (130.77 KiB) Downloaded 186 times