MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Help on Development » General Development (no feature request here!)


General Development (no feature request here!) You were able to fix an issue, or improved a feature? Post it here.

Reply
 
LinkBack Thread Tools Display Modes
Old 2006-06-30, 09:20   #1 (permalink)
Portal Member
 
Join Date: Mar 2006
Location: Taiwan
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts


Default Re: TW schedules = HK schedules?

Quote:
Originally Posted by billd
Does the Taiwan satellite program lineup match that in Hong Kong? If so you could use the TVxb Hong Kong channel listings. (The NOW schedule should work.)
I doubt there will be any English language schedules available for the local Taiwanese channels however... If there are, they can probably be grabbed.
It won't have any problem for EPG in Englisg. You can download the "ETSI EN 300 468 document ( http://webapp.etsi.org/action/OP/OP2...68v010601o.pdf ). In page 74, it has a character coding tables. The first byte of the EPG package is indicate language; however, the some of countries doesn't have this value, such as USA. So mine can support Traditional Chinese(0x14) and English at the same time. If you want to support Hebrew language of the EPG, you need to write a new function for this feature. Same as others...
Isaac Lin is offline   Reply With Quote
Old 2006-06-30, 12:47   #2 (permalink)
Retired Team Member
 
mzemina's Avatar
 
Join Date: Feb 2005
Location: Ft Smith, AR
Posts: 2,021
Thanks: 30
Thanked 9 Times in 9 Posts

Country:


Default

Isaac - Once you even get MP in an alpha state why not post some screen shots as to how you are doing?

Mike
mzemina is offline   Reply With Quote
Old 2006-07-01, 08:44   #3 (permalink)
Portal Member
 
Join Date: Mar 2006
Location: Taiwan
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts


Default MP Screenshot

I will upload some screenshot on next Monday.
Isaac Lin is offline   Reply With Quote
Old 2006-07-03, 08:14   #4 (permalink)
Portal Member
 
Join Date: Mar 2006
Location: Taiwan
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Quote:
Originally Posted by mzemina
Isaac - Once you even get MP in an alpha state why not post some screen shots as to how you are doing?

Mike

The following screen is my current achievement.
1. Select Display Language in Configuration screen


2. Select GMax skin


3. TV Channel


4. Channel Group


5. Radio Channel


6. MP - Main menu


7 Display Music Folder


8. Song list in one of the singer's folder


9. My TV - 1


10. My TV - 2


11. My TV - EPG


12. Weather
Isaac Lin is offline   Reply With Quote
Old 2006-07-03, 14:11   #5 (permalink)
Retired Team Member
 
mzemina's Avatar
 
Join Date: Feb 2005
Location: Ft Smith, AR
Posts: 2,021
Thanks: 30
Thanked 9 Times in 9 Posts

Country:


Default

Many Thanks Isaac - This should temp the people in the Asia area to take a look into this! Good work

These screenshots should add fuel to the fire that any displayable text should be in strings.xml so they can be internationalized. If it is hardcoded then like Isaac is showing a skin is not able to show text in their language (when available).
mzemina is offline   Reply With Quote
Old 2006-07-04, 03:01   #6 (permalink)
Portal Member
 
Join Date: Mar 2006
Location: Taiwan
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Quote:
Originally Posted by mzemina
Many Thanks Isaac - This should temp the people in the Asia area to take a look into this! Good work

These screenshots should add fuel to the fire that any displayable text should be in strings.xml so they can be internationalized. If it is hardcoded then like Isaac is showing a skin is not able to show text in their language (when available).
It is not hardcode. I change parameters of the MAX_TEXTURE_COORDS and MaxNumfontVertices to 40869, and FontEngineDrawText3D () function in font engine. Besides, the skin also modified for decreasing amount of the font style and added TWFont13 and TWFont14 instead of using font13 and font14, the result of video memory demand is decrease than before. The purpose of using TWFont13 and TWFont14, one is for Traditional Chinese and second one is for English and numeric characters.
Isaac Lin is offline   Reply With Quote
Old 2006-07-10, 16:33   #7 (permalink)
Portal Developer
 
Join Date: May 2005
Location: Switzerland
Posts: 1,332
Thanks: 4
Thanked 55 Times in 34 Posts


Default

Hi Isaac,

You have said you need 256MB graphic memory to support Chinese charaters. Link

And here you listed your modification to the fonts. My question is you are loading 20,000+ charaters. However, from what I've read only a smaller number of these are in daily use? Link

I would suggest a very good thing would be to reduce the number of characters loaded. This willl reduce the memory required and work with the current font engine. To do this some work may be required to load a list of characters, not just a range.

For example instead of:
Code:
<start>19968</start> 
<end>40869</end>
something like:
Code:
<characters>19969,20012,23000-24000,...</characters>
This change may not be so hard.

/James
James is offline   Reply With Quote
Old 2006-07-11, 03:22   #8 (permalink)
Portal Member
 
Join Date: Mar 2006
Location: Taiwan
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts


Default RE: Chinese character support development

I will tried it in this week. Thanks.
Isaac Lin is offline   Reply With Quote
Old 2006-08-31, 16:42   #9 (permalink)
Portal User
 
Join Date: Aug 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Issac,

Great Work!

Can you povide some detail on how to modify MP to display traditional chinese?

My goal is to display chinese epg only.

Thx
kahuna is offline   Reply With Quote
Old 2006-08-31, 20:54   #10 (permalink)
Portal Member
 
Join Date: Jan 2005
Posts: 232
Thanks: 3
Thanked 1 Time in 1 Post


Default

Quote:
Originally Posted by James View Post
Hi Isaac,

You have said you need 256MB graphic memory to support Chinese charaters. Link

And here you listed your modification to the fonts. My question is you are loading 20,000+ charaters. However, from what I've read only a smaller number of these are in daily use? Link

I would suggest a very good thing would be to reduce the number of characters loaded. This willl reduce the memory required and work with the current font engine. To do this some work may be required to load a list of characters, not just a range.

For example instead of:
Code:
<start>19968</start> 
<end>40869</end>
something like:
Code:
<characters>19969,20012,23000-24000,...</characters>
This change may not be so hard.

/James
Font glyph caching is the real solution - a max surface allocation is made and glyphs are unpacked to this. When all surfaces are full the LRU glyphs should be removed & replaced with subsequent glyphs. Perhaps winFX does all this out of the box.
bigj is offline   Reply With Quote
Reply

Bookmarks

Tags
character, chinese, development, support

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 On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Support on displaying EPG's info with chinese characters hkwonder General Support 0 2007-01-08 10:06
Chinese support cheamys MediaPortal 1 Talk 1 2006-12-20 02:34
International Character Support Gollums_Cave Improvement Suggestions 0 2006-06-09 12:32
[patch] DVB EPG ISO 6937 support zdar General Development (no feature request here!) 0 2006-02-11 13:38
DVB-T EPG ISO 6937 support (character encoding) zdar Improvement Suggestions 0 2006-01-21 11:06


All times are GMT +1. The time now is 11:15.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress