Your Universal Remote Control Center
RemoteCentral.com
Philips Pronto Professional Forum - View Post
Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Original thread:
Post 7 made on Sunday August 24, 2008 at 17:56
Eigeny Oulianov
Founding Member
Joined:
Posts:
October 2001
238
Embedded font RontoMaestro.ttf contains all Pronto glyphs in 0xF000..0xF0FF characters, as like as PEP1 uses. It is possible to crossbreed text and symbol in ConfigEdit.xml:
two labels "text label" and DTS symbol -

<Label>
<Font>
<FontName>ProntoMaestro</FontName>
<FontSize>32</FontSize>
<FontStyle />
</Font>
<Symbol> </Symbol>
<Text>text label</Text>
<UsesSymbol>false</UsesSymbol>
<TextColor>0 0 0</TextColor>
<TextAlignment>Middle Center</TextAlignment>
</Label>

and

<Symbol>яГ┐</Symbol>
<Text> </Text>
<UsesSymbol>true</UsesSymbol>

to

<Text>it is DTS symbol: яГ┐</Text>
<UsesSymbol>false</UsesSymbol>

where "symbol" is represented as 3 non-ascii characters in UTF-8 by mask:
1110xxxx 10xxxxxx 10xxxxxx
Sample: DTS symbol is \uF0FF, binary is 1111 0000 1111 1111 (from high bits to low), so the result is 11101111 10000011 10111111 = \xEF\x83\xBF -
It is functional only with ProntoMaestro font, all other fonts have no symbols (and these fonts are supported quite indirectly, due to ProntoMaestro.ttf is the only capable font in firmware :)

The other way - is to use \uF000...\uF0FF characters in prontoscript, but the font must be ProntoMaestro, and it is still unchangable in PS.

What are the reasons for use PEP2? PEP2 as against PEP is like MS Paint against Adobe Photoshop - the only restrinctions and incompartibilities. FAQ is too fanny yet - you can't do this, you can't do that...
I can't see all pages of activity at one time - it is enough for me to forget about this awkward creation

Last edited by Eigeny Oulianov on August 24, 2008 18:49.


Hosting Services by ipHouse