MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Get Support » General Support


General Support Post problems you have when using MediaPortal, or pre installation questions in here.

Reply
 
Thread Tools Display Modes
Old 2006-07-15, 10:13   #11 (permalink)
Portal Member
 
Join Date: Jul 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Just stumbled about the fact that fontengine.cpp would NOT be compiled with Visual C# Express. Therefore i assume i have to use Visual Studio to get that file compiled.
thor42 is offline   Reply With Quote
Old 2006-07-15, 15:15   #12 (permalink)
Portal Member
 
Join Date: Jul 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Finally i was able to fetch and configure everything to get those files compiled. But as you already told, the resulting characters are really, really too tiny to read. Seems the 2048x2048 .png map. I haven't found the reason, why them are so tiny. The size parameter inside fonts.xml for that font13 could be set to any size it just doesn't matter they are so tiny as before.

If Mediaportal is used in FullScreen mode, the characters are even very blurred, so that's also not an option to achive bigger character size.
thor42 is offline   Reply With Quote
Old 2007-12-21, 12:25   #13 (permalink)
rtv
Portal Developer
 
rtv's Avatar
 
Join Date: Apr 2005
Location: Osnabruck
Posts: 2,698
Thanks: 120
Thanked 126 Times in 87 Posts

Country:

My System

Default

Sorry for digging out this old thread but are there any devs from asian regions still active here?
Would be nice to get the fontengine fixed to display all chars in the needed size.
__________________
rtv is offline   Reply With Quote
Old 2007-12-27, 07:58   #14 (permalink)
Portal Member
 
Join Date: Dec 2007
Posts: 11
Thanks: 0
Thanked 1 Time in 1 Post

Country:


Default

I have a lot of Chinese content so I did a quick fix to the MediaPortal source code for it to display Chinese - and any other Unicode character for that matter.
I can upload my source code and probably somebody can incorporate it into the trunk, if you can tell me the proper way to do it.
I also have some fix for WebEPG which might be useful as well.
darchons is offline   Reply With Quote
Old 2007-12-27, 12:33   #15 (permalink)
rtv
Portal Developer
 
rtv's Avatar
 
Join Date: Apr 2005
Location: Osnabruck
Posts: 2,698
Thanks: 120
Thanked 126 Times in 87 Posts

Country:

My System

Default

Quote:
Originally Posted by darchons View Post
I can upload my source code and probably somebody can incorporate it into the trunk
Yeah - please share everything that might help
__________________
rtv is offline   Reply With Quote
Old 2007-12-28, 06:14   #16 (permalink)
Portal Member
 
Join Date: Dec 2007
Posts: 11
Thanks: 0
Thanked 1 Time in 1 Post

Country:


Default

OK, the two files I changed are in the zip file.
They are based off the current trunk.

Basically I used Direct3D Font objects to do the rendering for characters outside of the font engine range.
Although it's not as efficient as the built-in font engine, in my actual usage it's not bad at all, considering the benefits. When the characters are all within range, the built-in font engine is still called and there's very little added overhead.
I've read Direct3D Font used to be very slow, but starting with DirectX 9.0c its performance was vastly improved. That's probably why I noticed very little slowdown.
Attached Files
File Type: zip font.zip (11.2 KB, 75 views)
darchons is offline   Reply With Quote
Old 2008-01-01, 18:49   #17 (permalink)
Portal User
 
Join Date: Jan 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Question Compiled Version for UNICODE Text

Is there somewhere where I can download a compiled version of MediaPortal with these unicode updates?
rkwisdom is offline   Reply With Quote
Old 2008-01-01, 20:49   #18 (permalink)
Portal Member
 
Join Date: Dec 2007
Posts: 11
Thanks: 0
Thanked 1 Time in 1 Post

Country:


Default

Here, this is the compiled version I'm using right now. Just put Core.dll in the MediaPortal directory to replace the old file.
You should probably use it on the 0.2.3.0 release version, not any SVN version, because the file is compiled form the 0.2.3.0 release version of the source code.
After using it for a few weeks the only problem I've noticed is when text is scrolling, the unicode text can get off the edge a little bit. Doesn't bother me.
Let me know if it works or not.

Last edited by darchons; 2008-01-14 at 21:56.
darchons is offline   Reply With Quote
Old 2008-01-02, 09:24   #19 (permalink)
Portal User
 
Join Date: Oct 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts


Default

It works perfectly!!!
Thank you very much for your help.
robof is offline   Reply With Quote
Old 2008-01-04, 14:24   #20 (permalink)
Portal User
 
Join Date: Jan 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Thumbs up

darchons,

Thank you very much! It works great!

rkwisdom is offline   Reply With Quote
Reply

Bookmarks

Tags
chinese, hebrew, japanese, korean, thai, unicode

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

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


All times are GMT +1. The time now is 17:39.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden