Hello,
during my tests I noticed a problem with Btnbmp selecting
any symbol of "Segoe UI Symbol"
the problem in detail :
http://forums.fivetechsupport.com/viewt ... 60#p223160
in short :
You can use sample < W10btns.prg > and change the defined fonts
The symbols defined in HEX-format are used from "Segoe MDL2 Assets"
The defined fonts are used for the buttontext
DEFINE FONT oFont NAME "Arial" SIZE 0,-14
DEFINE FONT oFontG NAME "Arial" SIZE 0,-18
DEFINE FONT oBold NAME "Arial" SIZE 0,-14 BOLD
DEFINE FONT oFont1 NAME "Arial" SIZE 0,-24
ignored for symbols
//DEFINE FONT oFont NAME "Segoe UI" SIZE 0,-14
//DEFINE FONT oFontG NAME "Segoe UI" SIZE 0,-18
//DEFINE FONT oBold NAME "Segoe UI" SIZE 0,-14 BOLD
//DEFINE FONT oFont1 NAME "Segoe UI Light" SIZE 0,-24
results
regards
Uwe
A problem Btnbmp and HEX-symbols from fonts
A problem Btnbmp and HEX-symbols from fonts
Last edited by ukoenig on Tue Jun 25, 2019 10:49 am, edited 1 time in total.
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
i work with FW.
If you have any questions about special functions, maybe i can help.
- nageswaragunupudi
- Posts: 8017
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
Re: A problem Btnbmp and HEX-symbol from fonts
When we specify
BTNBMP RESOURCE <n> ( hex or normal)
If <n> is in the appropriate range of symbols, Segoe MDL2 Assets font is used to display the symbol on Windows 10. On Windows 8, Segoe UI Symbol font is used.
Fonts defined for the BTNBMP are used for text only.
This is the behavior.
If you want to use any character with any other font as image, use bw_texttobmp() and use that bitmap.
BTNBMP RESOURCE <n> ( hex or normal)
If <n> is in the appropriate range of symbols, Segoe MDL2 Assets font is used to display the symbol on Windows 10. On Windows 8, Segoe UI Symbol font is used.
Fonts defined for the BTNBMP are used for text only.
This is the behavior.
If you want to use any character with any other font as image, use bw_texttobmp() and use that bitmap.
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
Re: A problem Btnbmp and HEX-symbols from fonts
Thank You very much for the infos
I got a little bit confused after the tests
what is the best for window 8 users
just moving the title to the left and keep it like it is desined
or removing everything about < Segoe MDL2 Assets>
I think window 8 users can install < Segoe MDL2 Assets> as well
I don't have window 8 installed to test the result.
regards
Uwe
I got a little bit confused after the tests
I included the needed infosIf <n> is in the appropriate range of symbols, Segoe MDL2 Assets font is used
to display the symbol on Windows 10. On Windows 8, Segoe UI Symbol font is used.
Fonts defined for the BTNBMP are used for text only.
This is the behavior.
If you want to use any character with any other font as image, use bw_texttobmp() and use that bitmap.
what is the best for window 8 users
just moving the title to the left and keep it like it is desined
or removing everything about < Segoe MDL2 Assets>
I think window 8 users can install < Segoe MDL2 Assets> as well
I don't have window 8 installed to test the result.
regards
Uwe
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
i work with FW.
If you have any questions about special functions, maybe i can help.