Hello I'm back..
Previous my question about Hdpi, it was resolved...
now.. I have question about fonts.
On previous version CEGUI .font file, there was GylphsRange(is it right?) to set unicode range, but now it was removed.
If I want to display text contains diffrent language in one StaticText(or Label).
(ex> Hello(안녕하세요) + @(Chinese... Japanese...))
Windows defualt English font "Arial" supports only English.
Some Korean fonts support only Korean.
So I want to display English by Arial, Korean by Nanum, Chinese by Simhei.
Is it possible?
Could I set font per different language?
Moderators: CEGUI MVP, CEGUI Team
-
- Just popping in
- Posts: 20
- Joined: Sat Sep 02, 2017 20:28
Re: Could I set font per different language?
I don't think CEGUI knows the text language, you might need to write it yourself.
Re: Could I set font per different language?
andrewfeng123 wrote:I don't think CEGUI knows the text language, you might need to write it yourself.
Is there no way set a unicode range per font files?
because it was exist on previous CEGUI version.
Re: Could I set font per different language?
I found about it.
Yes it called by "Font fallback".
here is link about it, someone issued it...
http://cegui.org.uk/forum/viewtopic.php?t=6318
Looks commit about Font fallback.
but looks like ver 0.8.7 doesn't includes it.
Yes it called by "Font fallback".
here is link about it, someone issued it...
http://cegui.org.uk/forum/viewtopic.php?t=6318
Looks commit about Font fallback.
but looks like ver 0.8.7 doesn't includes it.
Re: Could I set font per different language?
You are right about that this was not merged. It was probably forgotten when CrazyEddie went on a break and the creator of the change did not make a pull request.
Would be interesting to try out the changes on the latest 0.8.X version. Would you manage to apply the changes and try them out? I can then look into reviewing and merging it if it actually works for your use-case fine.
Would be interesting to try out the changes on the latest 0.8.X version. Would you manage to apply the changes and try them out? I can then look into reviewing and merging it if it actually works for your use-case fine.
CrazyEddie: "I don't like GUIs"
Re: Could I set font per different language?
[Would be interesting to try out the changes on the latest 0.8.X version. Would you manage to apply the changes and try them out? I can then look into reviewing and merging it if it actually works for your use-case fine.[/quote]
Ok!~ all right.
Althought I am a beginner on programming.. , I will try it.
but I'm not sure I can do it or not..
If something proceed, I will notify..!
Ok!~ all right.
Althought I am a beginner on programming.. , I will try it.
but I'm not sure I can do it or not..
If something proceed, I will notify..!
Who is online
Users browsing this forum: Baidu [Spider] and 9 guests