Hi!
Hi!
I am developing an app to run on Android (later iOS) and I have noticed that int'l chars are wrong here. Is there any pagecode config I need to do or is it a bug?
Example: Ç show as C, Ã as A, and so on... look likes FMX is trying to convert the characters, also, they I get an unaligned word...
By the way, it will not happen with TLabel, but I have see that when using the TTabItem.Text property, TListBoxGroupHeader. It will get wrong on the device, but the IDE shows fine.
I am developing an app to run on Android (later iOS) and I have noticed that int'l chars are wrong here. Is there any pagecode config I need to do or is it a bug?
Example: Ç show as C, Ã as A, and so on... look likes FMX is trying to convert the characters, also, they I get an unaligned word...
By the way, it will not happen with TLabel, but I have see that when using the TTabItem.Text property, TListBoxGroupHeader. It will get wrong on the device, but the IDE shows fine.
It seems to work (kinda) OK here, though the à is indeed misaligned (and because of that, it is also cut off at the top). But the Ç shows up just fine, in all of these controls:
ReplyDelete- TLabel
- TText
- TListBoxGroupHeader, TListBoxItem, TListBoxGroupFooter
- TTabControl.TabItem
as demonstrated here on my MI 2A:
https://plus.google.com/photos/112235727026914021225/albums/5929789858233412401/5929789863706255970?pid=5929789863706255970&oid=112235727026914021225#photos/112235727026914021225/albums/5929789858233412401/5929789863706255970?pid=5929789863706255970&oid=112235727026914021225
Weird... I thing it´s a FMX bug. Misaligned sometimes is wrost than showing converted chars.
ReplyDeleteBy the way I was unable to see your image.
Magno Lima I've updated the image link. No character got converted on my device. Are you certain the extra bits aren’t just cut off due to lack of space?
ReplyDeleteI am trying on a LG Optimus & Galaxy note (big screens), same problem...
ReplyDeleteI meant lack of space inside the control, not lack of screen space. In the image I uploaded, you can see that the ~ on top of the à is cut off, even though there’s more than enough space above the A to render it.
ReplyDeleteOk, anyway it does not explain the chars are being changed. I cant see this happen with TLabel or TEdit, they are working fine. My TListBox items are all with chars changed, as I told, Ã becomes an A misaligned and much more than your image shows.
ReplyDeleteThe Word "SÃO PAULO" is rendered as SAO PAULO but the A baseline is on the middle of the S!
Actually, Ç is in the correct place and showing fine, please ignore my 1st comment about this particular letter... issue persists...
Any fellow from Brazil or other latin language is getting such results?
Hm... Do you know if the offending controls perhaps use a different font? If so, which font is that?
ReplyDeleteUsing default fonts for that fonts. If you try that you see that TLabel uses a diff font from TTabItem that put all on uppercase() :)
ReplyDeleteSee this example:
APLICAÇÂO (application) is written that way in portuguese, it changes to APLICAÇAO, but the last A stays on the middle of the Ç.
Tbutton also works fine.
Known issue. It affects many capital letters.
ReplyDeletehttp://qc.embarcadero.com/wc/qcmain.aspx?d=118852
Screenshot of problem: http://goo.gl/538ijf
Ah, thanks Lars Fosdal, good to know it’s been reported (though I get "Either there is no report #118852, or you are not authorized to see that report").
ReplyDeleteI guess I need to repost for reasons I cannot divulge ;)
ReplyDeleteThank you Lars! I really need that fixed :(
ReplyDeleteanyway: "Either there is no report #118852, or you are not authorized to see that report." :)
Did you install this hot fix: http://cc.embarcadero.com/item/29644 ? Should help...
ReplyDelete