home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Skins
Font caching issues!
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="ripk" data-source="post: 826837" data-attributes="member: 90629"><p>Hello all,</p><p></p><p>I think I've found a potential problem in the way the fonts are cached in Mediaportal - the caching is performed for characters in the active locale only! For example, I have set up my installation in English language, but I'm using UTF-encoded information in EPG to display content that contais Croatian characters. As a consequence, any string that contains accented characters will not be rendered in the correct font. I'm using StreamedMP but as far as I understand, caching is done on the systems-level and all skins may be sensitie to this problem.</p><p></p><p>I spent a lot of time to diagnose this problem - the fonts used in StreamedMP all have accented characters and they refused to display! Until finally I had a look at the content of the cached font bitmaps and discovered that my chars are not there <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /> </p><p>If I switch the language of Mediaportal to Croatian, then everything gets displayed in the correct font, but I have translations in my menus, whic I do not want. </p><p></p><p>The solution would be to cache ALL characters in a font, regardless of the encoding of the Mediaportal language.</p><p></p><p>I've attached a screenshot to demonstrate the problem.</p><p></p><p></p><p>K</p></blockquote><p></p>
[QUOTE="ripk, post: 826837, member: 90629"] Hello all, I think I've found a potential problem in the way the fonts are cached in Mediaportal - the caching is performed for characters in the active locale only! For example, I have set up my installation in English language, but I'm using UTF-encoded information in EPG to display content that contais Croatian characters. As a consequence, any string that contains accented characters will not be rendered in the correct font. I'm using StreamedMP but as far as I understand, caching is done on the systems-level and all skins may be sensitie to this problem. I spent a lot of time to diagnose this problem - the fonts used in StreamedMP all have accented characters and they refused to display! Until finally I had a look at the content of the cached font bitmaps and discovered that my chars are not there :) If I switch the language of Mediaportal to Croatian, then everything gets displayed in the correct font, but I have translations in my menus, whic I do not want. The solution would be to cache ALL characters in a font, regardless of the encoding of the Mediaportal language. I've attached a screenshot to demonstrate the problem. K [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Skins
Font caching issues!
Contact us
RSS
Top
Bottom