> On Nov 28, 2013, at 1:00 AM, Gianluca Casalino <
gilu...@gmail.com> wrote:
>> When I need to show the font braille I use this code:
>>
>> def loadFile(self, file):
>> result=tasks.loadFile(file)
>> font=wx.Font(12,wx.MODERN,wx.NORMAL,wx.FONTWEIGHT_NORMAL,
>> False, face="currer new", encoding=wx.FONTENCODING_ISO8859_1)
>> if globalVars.fileShowed == globalVars.FILE_EXT['FILE_PRINT'][1]:
>> # wx.MessageBox("bra file")
>> font=wx.Font(24,wx.FONTFAMILY_DEFAULT,wx.NORMAL,wx.FONTWEIGHT_NORMAL,False,
>> face="Braille", encoding= wx.FONTENCODING_DEFAULT)
>> self.panel.editor.SetFont(font)
>>
>>
>> if I use wx.FONTENCODING_UTF8 an error occurs.
>> The unicode set dedicated to braille signs is from 0x2800 to 0x28ff.
>> Arial Unicode ms should perform the right symbols.
> OK, but you are not asking for Arial Unicode here. You are asking for a font called �Braille� (or �currier new� � did you actually mean �Courier New�?).
> For Arial Unicode, I don�t think you want FONTENCODING_UTF8. I think you want FONTENCODING_UNICODE.