2011-10-28, 09:50
I got some weird results on textbox heights. On my windows machine this code is shown just fine:
but the same code on both my ubuntu boxes show an extra bit of the last line.
Is there a difference between font rendering? Is this something somebody else has noticed?
If I use a font size of 18 or 16 the problem does not exist (of course after height adjustment), only with font size 17.
font is this:
Is this at all related to XBMC or should I check something else?
EDIT: forgot to mention the problem is only at native 1080p. On 1280x720 the text is not cut off on ubuntu.
Code:
<control type="textbox">
<posx>0</posx>
<posy>150</posy>
<width>435</width>
<height>162</height>
<font>Font_Reg17</font>
<label>$VAR[FanartPanelPlotVar]</label>
<textcolor>d0FFFFFF</textcolor>
<align>justify</align>
<autoscroll delay="8000" time="2000" repeat="8000">Skin.HasSetting(AutoScroll)</autoscroll>
<animation effect="slide" start="0,0" end="0,-15" time="400" easing="inout" tween="cubic" condition="[Control.IsVisible(510)+Skin.HasSetting(posterslide)]">Conditional</animation>
</control>
but the same code on both my ubuntu boxes show an extra bit of the last line.
Is there a difference between font rendering? Is this something somebody else has noticed?
If I use a font size of 18 or 16 the problem does not exist (of course after height adjustment), only with font size 17.
font is this:
Code:
<font>
<name>Font_Reg17</name>
<filename>Ubuntu-R.ttf</filename>
<size>17</size>
</font>
Is this at all related to XBMC or should I check something else?
EDIT: forgot to mention the problem is only at native 1080p. On 1280x720 the text is not cut off on ubuntu.