Page 1 of 1
I have a problem with the Hb_Uchar () function !
Posted: Sat Sep 18, 2021 12:39 am
by Claudio Ricardo
When i do: Hb_Uchar (0x0041) for U+0041, or Hb_Uchar (0x05D0) for U+05D0 show the correct character in a TextBox
but if I use Hb_Uchar (0x233B4) for U+233B4, or Hb_Uchar (0x13190) for U+13190 show the wrong character
I use: SET Language To Spanish and SET CodePage To Unicode and take unicode value from:
https://unicode-table.com/es/
What am I doing wrong ? Any can helpme please.
Re: I have a problem with the Hb_Uchar () function !
Posted: Sat Sep 18, 2021 3:00 am
by Claudio Ricardo
I solve this installing NewGardening TT font and set this in TextBox... he have > U+13000.
Re: I have a problem with the Hb_Uchar () function !
Posted: Sat Sep 18, 2021 4:02 am
by andyglezl
No se si hablemos de lo mismo, pero yo selecciono algún Font y caractér en Word,
y lo copio y pego en el editor de mi .prg
*---------------------------------------------------------------------------------------------------
I do not know if we talk about the same, but I select a Font and character in Word,
and I copy and paste it in the editor of my .prg
.
.
Code: Select all
@ 024 , 023 LABEL LB_Salir OF Win_1 VALUE "" WIDTH 15 HEIGHT 15 FONT "Wingdings" SIZE 12 CENTERALIGN ;
.
.

- imagen_2021-09-17_230055.png (78.78 KiB) Viewed 593 times
Re: I have a problem with the Hb_Uchar () function !
Posted: Sat Sep 18, 2021 5:45 am
by Claudio Ricardo
Gracias Andy !!!
Lo que estaba haciendo mal es que esos caracteres que necesitaba no están en las fonts normales de Windows,
instalé una .ttf que si los tiene y con eso lo solucioné, pero tendré que incluir la fuente esa con el programa.