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
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