Posts: 968
Joined: Nov 2011
Reputation:
10
giaur
Posting Freak
Posts: 968
2012-04-12, 12:23
(This post was last modified: 2012-04-12, 12:25 by giaur.)
Any chance to add font scale support?
Subtitles are displayed as 50% stretched in 3d mode. They need to be squeezed by xbmc (best solution) or squeezed font sholud be used - I'm still looking for such squeezed font but without any success.
Posts: 968
Joined: Nov 2011
Reputation:
10
giaur
Posting Freak
Posts: 968
2012-04-14, 00:34
(This post was last modified: 2012-04-14, 00:36 by giaur.)
But what dimension is 1.5 x times smaller? It should be half x dimension and untouched y dimension in case side by side 3d mode, or untouched x dimension and half y dimension in case top-bottom 3d mode. Proportional scalling does not have much sense.
Posts: 968
Joined: Nov 2011
Reputation:
10
giaur
Posting Freak
Posts: 968
2012-04-14, 11:26
(This post was last modified: 2012-04-14, 11:43 by giaur.)
I think you should rather look into libfreetype api and maybe you can find something about non proportional scalling. Or, simply generate bitmap from text and try to scale bitmap.
But I think the problem is that xbmc handles fonts some other way (I didn't look into source code, so I don't know much about this, I believe this sholud be LoadTTF method and CGUIFont class) and you are forced to use this api instead of making some low-level font functions. So, it seems there is need to make changes in xbmc font rendering engine and this can be not so easy.
Posts: 44
Joined: Sep 2008
Reputation:
0
noeikujoo, can you host your patch on another server or send it to me please? I'm getting "server not found" over here.
Thanks
Posts: 51
Joined: Mar 2009
Reputation:
0
Try another server? Just added new link to last post.