Could mediacontrol_display_text show Traditional Chinese?

This forum is about all development around libVLC.
henrymark
Blank Cone
Blank Cone
Posts: 46
Joined: 11 Aug 2009 09:55

Could mediacontrol_display_text show Traditional Chinese?

Postby henrymark » 26 Oct 2009 09:08

Hi, all:
I meet a problem about use mediacontrol_display_text API to draw Traditional Chinese, :-| , it only show square on the screen?

Anyony meet this situation ? thanks! :roll:

henrymark
Blank Cone
Blank Cone
Posts: 46
Joined: 11 Aug 2009 09:55

Re: Could mediacontrol_display_text show Traditional Chinese?

Postby henrymark » 02 Nov 2009 10:37

Is the quiz too hard? Does the libfreetype_plugin.dll lack characterset problem? thanks!

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Could mediacontrol_display_text show Traditional Chinese?

Postby Jean-Baptiste Kempf » 02 Nov 2009 16:21

Square means that the default font doesn't support chinese characters. Change it in the preferences.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

henrymark
Blank Cone
Blank Cone
Posts: 46
Joined: 11 Aug 2009 09:55

Re: Could mediacontrol_display_text show Traditional Chinese?

Postby henrymark » 03 Nov 2009 04:48

Thanks a lot for your help!!

Whatever I change in preference( FreeType2 font ), it doesn't work! I think it maybe the Freetype2 plugin problem.......

henrymark
Blank Cone
Blank Cone
Posts: 46
Joined: 11 Aug 2009 09:55

Re: Could mediacontrol_display_text show Traditional Chinese?

Postby henrymark » 11 Nov 2009 03:07

Hi, all,
This probelm seems no chance to fix unless FreeType plugin have new version.../︿\,maybe wait freetype add free traditional chinese font....

henrymark
Blank Cone
Blank Cone
Posts: 46
Joined: 11 Aug 2009 09:55

Re: Could mediacontrol_display_text show Traditional Chinese?

Postby henrymark » 25 Nov 2009 01:58

Hi, all,
Does anybody have any idea about this ?

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Could mediacontrol_display_text show Traditional Chinese?

Postby Rémi Denis-Courmont » 25 Nov 2009 18:20

You need to set an adequate font for the freetype-font parameter when initializing the libvlc instance.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

henrymark
Blank Cone
Blank Cone
Posts: 46
Joined: 11 Aug 2009 09:55

Re: Could mediacontrol_display_text show Traditional Chinese?

Postby henrymark » 22 Feb 2010 04:18

Hi, I try to use marquee to show traditional chinese and I set the freetype font and then it works.

When I use the API mediacontrol_display_text to show traditional chinese, it's still cannot recognize the font type.

I think that does it need to modify mediacontrol_audio_video.c to put the font type into psys ?? Is there having any plan to modify these? Thx~~~

henrymark
Blank Cone
Blank Cone
Posts: 46
Joined: 11 Aug 2009 09:55

Re: Could mediacontrol_display_text show Traditional Chinese

Postby henrymark » 04 Mar 2010 10:29

hi, folks,
Anyone has this situation ? or has some ideas? thanks a lot.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 11 guests