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
Popular Skins
PureVision
PureVisionHD 1080
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="MaxT" data-source="post: 574307" data-attributes="member: 100229"><p>Hi catavolt!</p><p></p><p>I did some testing with various combinations of settings in strings_ru.xml in the language folder and fonts.xml in the PV skin folder: 1) stings_ru 255 fonts intact, 2) strings_ru 1105 fonts intact and 3) strings_ru 1105 fonts 1105. I cleared cache every time after editing strings_ru or fonts. Logs are attached. Basically results are:</p><p></p><p>in the 1st case MP with PV HD loads but items translated into Russian in the OSD are not seen;</p><p>in the 2nd and 3rd cases MP loads but there is nothing on the screen at all. Logs show that:</p><p></p><p>2010-02-07 08:51:34.599429 [Debug][MPMain(1)]: TextureLoader.CreateFile C:\ProgramData\Team MediaPortal\MediaPortal\Cache\PureVisionHD\fonts\font32_61.dds</p><p>2010-02-07 08:51:37.787611 [Debug][MPMain(1)]: Saving font:font32 height:61 texture:4096x2048 chars:[32-1106] miplevels:1</p><p>2010-02-07 08:51:37.790612 [Debug][MPMain(1)]: TextureLoader.CreateFile C:\ProgramData\Team MediaPortal\MediaPortal\Cache\PureVisionHD\fonts\font72_135.dds</p><p>2010-02-07 08:51:39.444706 [Info.][MPMain(1)]: D3D: InitializeDeviceObjects - Exception: System.NullReferenceException: В экземпляре объекта не задана ссылка на объект.<em><u> In English this means that in the object instance there is no reference to the object</u></em></p><p> в MediaPortal.GUI.Library.GUIFont.InitializeDeviceObjects()</p><p> в MediaPortal.GUI.Library.GUIFontManager.InitializeDeviceObjects()</p><p> в MediaPortalApp.InitializeDeviceObjects()</p><p> в MediaPortal.D3DApp.InitializeEnvironment()</p><p></p><p></p><p>and no font72_135.* and fontSVT_24.* files exist in the cache folder. However if I exit MP (by loading Configuration) and load it again without clearing cache, it creates font72_135.* and fontSVT_24.* fules and loads OK, but the size of font72_135.dds is 268 435 584 bytes (which is huge compared to font32_61.dds which is 32 554 560 bytes and other dds files wich are smaller)!</p><p></p><p>In some previous SVN I could not load MP and PV HD with default settings in strings_ru, had to put 255 in there and leave with some strings in the OSD missing.</p><p></p><p>So at least for me the solution is just to run MP for the second time without clearing the cache to allow creation of missing textures.</p><p></p><p>But at the end of the story I still do not understand:</p><p>1. Why with strings_ru setting 255 MP works fine with Russian chars including menu items, series name etc. and the issue is only with OSD buttons (Russian series name taken from myTVseries is shown correctly) therefore 1105 or whatever other range different from 255 is not needed. As it is seen from the attached logs, only chars up to 255 are textured, so other are not textured and thus cannot be used.</p><p></p><p>2. Even if I am not right in 1., why MP loads 0-1105 charecters for Russian or 0-1536 for Hebrew for all fonts even if their charlength is specifically limited in fonts.xml eg font 72 is limited only to few capital letters from the English charset?</p><p></p><p>Small side notes - I noticed that in common.osd.buttons.video.xml and in common.osd.buttons.xml there are direct labels definitions like <label>Video</label>, <label>Audio</label>, <label>Mute</label>, etc. rather than references to relevant strings. Therefore these lables are never translated in other languages. I've looked only into these files so cannot say whether this is the case for other xmls.</p><p></p><p>myextensions2.xml file needed for MPEI plugin is missing. I've copied this from BSW skin and it works fine.</p><p></p><p>BR</p><p></p><p>MaxT</p></blockquote><p></p>
[QUOTE="MaxT, post: 574307, member: 100229"] Hi catavolt! I did some testing with various combinations of settings in strings_ru.xml in the language folder and fonts.xml in the PV skin folder: 1) stings_ru 255 fonts intact, 2) strings_ru 1105 fonts intact and 3) strings_ru 1105 fonts 1105. I cleared cache every time after editing strings_ru or fonts. Logs are attached. Basically results are: in the 1st case MP with PV HD loads but items translated into Russian in the OSD are not seen; in the 2nd and 3rd cases MP loads but there is nothing on the screen at all. Logs show that: 2010-02-07 08:51:34.599429 [Debug][MPMain(1)]: TextureLoader.CreateFile C:\ProgramData\Team MediaPortal\MediaPortal\Cache\PureVisionHD\fonts\font32_61.dds 2010-02-07 08:51:37.787611 [Debug][MPMain(1)]: Saving font:font32 height:61 texture:4096x2048 chars:[32-1106] miplevels:1 2010-02-07 08:51:37.790612 [Debug][MPMain(1)]: TextureLoader.CreateFile C:\ProgramData\Team MediaPortal\MediaPortal\Cache\PureVisionHD\fonts\font72_135.dds 2010-02-07 08:51:39.444706 [Info.][MPMain(1)]: D3D: InitializeDeviceObjects - Exception: System.NullReferenceException: В экземпляре объекта не задана ссылка на объект.[I][U] In English this means that in the object instance there is no reference to the object[/U][/I] в MediaPortal.GUI.Library.GUIFont.InitializeDeviceObjects() в MediaPortal.GUI.Library.GUIFontManager.InitializeDeviceObjects() в MediaPortalApp.InitializeDeviceObjects() в MediaPortal.D3DApp.InitializeEnvironment() and no font72_135.* and fontSVT_24.* files exist in the cache folder. However if I exit MP (by loading Configuration) and load it again without clearing cache, it creates font72_135.* and fontSVT_24.* fules and loads OK, but the size of font72_135.dds is 268 435 584 bytes (which is huge compared to font32_61.dds which is 32 554 560 bytes and other dds files wich are smaller)! In some previous SVN I could not load MP and PV HD with default settings in strings_ru, had to put 255 in there and leave with some strings in the OSD missing. So at least for me the solution is just to run MP for the second time without clearing the cache to allow creation of missing textures. But at the end of the story I still do not understand: 1. Why with strings_ru setting 255 MP works fine with Russian chars including menu items, series name etc. and the issue is only with OSD buttons (Russian series name taken from myTVseries is shown correctly) therefore 1105 or whatever other range different from 255 is not needed. As it is seen from the attached logs, only chars up to 255 are textured, so other are not textured and thus cannot be used. 2. Even if I am not right in 1., why MP loads 0-1105 charecters for Russian or 0-1536 for Hebrew for all fonts even if their charlength is specifically limited in fonts.xml eg font 72 is limited only to few capital letters from the English charset? Small side notes - I noticed that in common.osd.buttons.video.xml and in common.osd.buttons.xml there are direct labels definitions like <label>Video</label>, <label>Audio</label>, <label>Mute</label>, etc. rather than references to relevant strings. Therefore these lables are never translated in other languages. I've looked only into these files so cannot say whether this is the case for other xmls. myextensions2.xml file needed for MPEI plugin is missing. I've copied this from BSW skin and it works fine. BR MaxT [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Skins
Popular Skins
PureVision
PureVisionHD 1080
Contact us
RSS
Top
Bottom