Tem como incluir fonte de letra no aplicativo?
Esta segunda tela está bem mais legÃvel que a primeira.
Trata-se de um fonte não disponÃvel no Windows.
Como poderia ser feito pra não precisar instalar no Windows?

Moderador: Moderadores
FUNCTION AddFontResource( cFileName )
RETURN CallDll( "gdi32.dll", "AddFontResourceA", cFileName )
FUNCTION RemoveFontResource( cFileName )
RETURN CallDll( "gdi32.dll", "RemoveFontResourceA", cFileName )
FUNCTION AddFontFromMem( cFontTxt )
RETURN CallDll( "gdi32.dll", "AddFontMemResourceEx", @cFontTxt, Len( cFontTxt ), 0, 1 )
hbmk2 -find addfont
hbwin.hbc (installed):
wapi_AddFontMemResourceEx()
wapi_AddFontResource()
wapi_AddFontResourceEx()
addons\sefazclass\josequintas.hbc (not installed):
addfontfrommem()
// FUNCTION AddFontResource( cFileName ); RETURN CallDll( "gdi32.dll", "AddFontResourceA", cFileName )
// FUNCTION RemoveFontResource( cFileName ); RETURN CallDll( "gdi32.dll", "RemoveFontResourceA", cFileName )
FUNCTION AddExtraFonts()
AddFontFromMem( FontOfficeCode() )
AddFontFromMem( FontStop() )
RETURN NIL
FUNCTION AddFontFromMem( cFontTxt )
RETURN CallDll( "gdi32.dll", "AddFontMemResourceEx", @cFontTxt, Len( cFontTxt ), 0, 1 )
FUNCTION FontOfficeCode()
#pragma __binarystreaminclude "..\resource\officecodepro-regular.ttf" | RETURN %s
FUNCTION FontStop()
#pragma __binarystreaminclude "..\resource\stopn.ttf" | RETURN %s
Usuários vendo este fórum: Nenhum usuário registrado online e 4 visitantes