| |||||||
| General Support Post problems you have when using MediaPortal, or pre installation questions in here. |
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Portal Member Join Date: Jul 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
| Hi, i have music with the tags for languages mentioned in the subject, but MP do not even play them. I have to rename the filename to use english characters instead of the correct name and tags from the file are never shown(only if they are in the english language). :cry: If i tried to change the language i could find korean, but after trying to use that it's all in english. Is MeadiaPortal just not able to display those languages? If it is capable, i would really appreciate if someone explain me how to enable it. If it could not work that way, i have to find a different app which could, just tell me if it (not yet) could. Thank you for your time reading this. I was trying to use 0.2.0.0 RC4. |
| | |
| | #2 (permalink) |
| Portal Member Join Date: Mar 2006 Location: Taiwan
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts
| You need to modify fonts.xml files in <working>ediaportal\xbmc\bin\Debug\skin\BlueTwo. My language is using Traditional Chinese, so my example is as follows, <font> <name>TWfont13</name> <start>19968</start> <end>40869</end> <filename>MingLiu</filename> <height>13</height> </font> <font> You need to fill in the start field for Korean language ~ |
| | |
| | #4 (permalink) |
| Portal Member Join Date: Jul 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
| thanks for the response, I removed C:\Programme\MediaPortal\Skin\BlueTwo\fonts and modified C:\Programme\MediaPortal\Skin\BlueTwo\fonts.xml for <bold>only</bold> the font13 as follow: <quote> <font> <name>font13</name> <start>19968</start> <end>40869</end> <filename>MingLiu</filename> <height>13</height> </font> </quote> The png's from fonts/*.png seems to be too small and there are several errors like: <quote> 10/07/2006 19:10:02 render exception ystem.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.at MediaPortal.GUI.Library.GUIFont.FontEngineDrawText 3D(Int32 fontNumber, Void* text, Int32 xposStart, Int32 yposStart, UInt32 intColor, Int32 maxWidth) at MediaPortal.GUI.Library.GUIFont.DrawText(Single xpos, Single ypos, Color color, String text, RenderFlags flags, Int32 maxWidth) at MediaPortal.GUI.Library.GUIFont.DrawText(Single xpos, Single ypos, Int64 color, String label, Alignment alignment, Int32 maxWidth) at MediaPortal.GUI.Library.GUIThumbnailPanel.RenderTe xt(Single fPosX, Single fPosY, Int64 dwTextColor, String wszText, Boolean bScroll) at MediaPortal.GUI.Library.GUIThumbnailPanel.RenderIt em(Single timePassed, Int32 iButton, Boolean bFocus, Int32 dwPosX, Int32 dwPosY, GUIListItem pItem, Boolean buttonOnly) at MediaPortal.GUI.Library.GUIThumbnailPanel.Render(S ingle timePassed) at MediaPortal.GUI.Library.GUIFacadeControl.Render(Si ngle timePassed) at MediaPortal.GUI.Library.GUIGroup.Render(Single timePassed) at MediaPortal.GUI.Library.GUIWindow.Render(Single timePassed) </quote> I tried to use ArialUnicodeMS instead, still doesn't work. Anything else i need to change ( 0.2.0.0 RC4 Release is used) ? Limits 19968 to 40869 are quite more than 0-255 are ok? Somewhere i read they could be approx. 5000. |
| | |
| | #5 (permalink) | |
| Portal Member Join Date: Mar 2006 Location: Taiwan
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts
| Quote:
<font> <name>TWfont13</name> <start>19968</start> <end>24968</end> <filename>MingLiu</filename> <height>13</height> </font> <font> Unicode character ranges and the Unicode fonts that support them: http://www.alanwood.net/unicode/fontsbyrange.html#ufe30 | |
| | |
| | #6 (permalink) |
| Portal Member Join Date: Jul 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
| I would also perfer to show all the chinese characters, anyway i tried to lower the number(i tried to just use just the first 2000, the fonts/font13_13.png could be viewed than): <font> <name>font13</name> <start>19968</start> <end>20968</end> <40869> <filename>ArialUni</filename> <height>13</height> </font> I could see some chinese characters, but no longer any a-zA-Z. I assume i have to use 0-40869. How could the Limit about 5000 or 8000 be removed/extended? If i increase the number i got just those errors and no display. |
| | |
| | #7 (permalink) |
| Portal Member Join Date: Mar 2006 Location: Taiwan
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts
| Basically, you need to obtain source code from SVN server or sourceforge.net., because it containing in the source code which is fontEngine.cpp in <working>\mediaportal\Core\fontEngine. It's not a good idea to increase capacity which will require more video memory and display tiny characters on screen. Origenal:
|
| | |
| | #8 (permalink) |
| Portal Member Join Date: Jul 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
| I fetched the MS C# Install, installed it, fetched the NET2.0 SDK, installed it, fetched the TortoiseSVN and used it to fetch the Mediaportal sources. After double-click "MediaPortal.VC#Express.sln" and from the Menu selecting Build/Rebuild Solution with 17 warnings and there is a MediaPortal.exe at xmbc/Debug. But if i start it, it has no skins(because there are none in that directory) and the app exits. At xmbc/Release there are skins, but no exe. Copying the skins from Release to Debug doesn't help. I got the MediaPortal screen but the first click shows a Message-Box "File not found: Dialogs ..." error with immediate exit of the app. Any pointers how to get the exe running? |
| | |
| | #9 (permalink) |
| Portal Member Join Date: Mar 2006 Location: Taiwan
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts
| Please see "How to compile MediaPortal": http://www.team-mediaportal.com/arti...diaportal.html |
| | |
| | #10 (permalink) |
| Portal Member Join Date: Jul 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
| After copy Dialogs\bin\Debug\Dialog.dll into the path where MediaPortal.exe is the Dialogs error is gone. I increased MAX_TEXTURE_COORDS and MaxNumfontVertices to 40969, but inside fonts.xml start/end values 19968-26968 are possible. If end is set to 27968 or higher the program would no longer work. Something else needed to be changed? |
| | |
![]() |
| Bookmarks |
| Tags |
| chinese, hebrew, japanese, korean, thai, unicode |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Quick Guide to Using Hebrew with MP 0.1.2.0 | Anonymous | Tips and Tricks | 20 | 2005-07-17 16:37 |