B badal405 Member Licensed User Longtime User Nov 14, 2013 #1 Dear Erel, Thanks in advance. Hope you are doing fine. I just want to show some Bengali text into a Label. So what i did, I added the font and copy some text from the Bengali website. After I run the app it is showing the Bengali text but broken. Would you please tell me how can i fix it? Best regards.
Dear Erel, Thanks in advance. Hope you are doing fine. I just want to show some Bengali text into a Label. So what i did, I added the font and copy some text from the Bengali website. After I run the app it is showing the Bengali text but broken. Would you please tell me how can i fix it? Best regards.
Erel B4X founder Staff member Licensed User Longtime User Nov 14, 2013 #2 Dear Erel, Click to expand... This is an open forum. You shouldn't limit your question to a single member Add Log(Label.Text). Does the text appear correctly? Upvote 0
Dear Erel, Click to expand... This is an open forum. You shouldn't limit your question to a single member Add Log(Label.Text). Does the text appear correctly?
NJDude Expert Licensed User Longtime User Nov 14, 2013 #3 I added the font and copy some text from the Bengali website. Click to expand... If by adding the font you mean you added a .ttf file, chances are that file is missing some characters, that could be the cause. Upvote 0
I added the font and copy some text from the Bengali website. Click to expand... If by adding the font you mean you added a .ttf file, chances are that file is missing some characters, that could be the cause.
B badal405 Member Licensed User Longtime User Nov 14, 2013 #4 Erel said: This is an open forum. You shouldn't limit your question to a single member Add Log(Label.Text). Does the text appear correctly? Click to expand... Dear Erel, I didn't limit to a single member purposely, Maybe i didn't notice it. I added log and the text are appearing correctly. But in the android 4.1.2 device or emulator the text are appearing broken text. Furthermore, I just tested now into an android 2.1 based tab, all text are appearing like rectangle(no alphabet)!!!!!!! What I should do now? Upvote 0
Erel said: This is an open forum. You shouldn't limit your question to a single member Add Log(Label.Text). Does the text appear correctly? Click to expand... Dear Erel, I didn't limit to a single member purposely, Maybe i didn't notice it. I added log and the text are appearing correctly. But in the android 4.1.2 device or emulator the text are appearing broken text. Furthermore, I just tested now into an android 2.1 based tab, all text are appearing like rectangle(no alphabet)!!!!!!! What I should do now?
B badal405 Member Licensed User Longtime User Nov 14, 2013 #5 NJDude said: If by adding the font you mean you added a .ttf file, chances are that file is missing some characters, that could be the cause. Click to expand... Dear NJDude, Yes i added the .ttf file. But when i added log(label.text). The text are appearing correctly but in the emulator/device appearing broken text. Upvote 0
NJDude said: If by adding the font you mean you added a .ttf file, chances are that file is missing some characters, that could be the cause. Click to expand... Dear NJDude, Yes i added the .ttf file. But when i added log(label.text). The text are appearing correctly but in the emulator/device appearing broken text.
NJDude Expert Licensed User Longtime User Nov 14, 2013 #6 So it seems the font file is missing characters. Upvote 0
B badal405 Member Licensed User Longtime User Nov 16, 2013 #7 NJDude said: So it seems the font file is missing characters. Click to expand... Dear NJ DUDE, Is it so? If the font file is missing characters, how the text are appearing correctly when I added the log(label.text) but not in app? Upvote 0
NJDude said: So it seems the font file is missing characters. Click to expand... Dear NJ DUDE, Is it so? If the font file is missing characters, how the text are appearing correctly when I added the log(label.text) but not in app?
Erel B4X founder Staff member Licensed User Longtime User Nov 17, 2013 #8 Because the font file is not used in this case. It is the IDE that shows the logs. Upvote 0
NJDude Expert Licensed User Longtime User Nov 17, 2013 #9 badal405 said: Dear NJ DUDE, Is it so? If the font file is missing characters, how the text are appearing correctly when I added the log(label.text) but not in app? Click to expand... The log is using the system's default font, not the font file you've loaded. Upvote 0
badal405 said: Dear NJ DUDE, Is it so? If the font file is missing characters, how the text are appearing correctly when I added the log(label.text) but not in app? Click to expand... The log is using the system's default font, not the font file you've loaded.