Hi,
Is there anyway to embed .ttf fonts in our applications? Otherwise, is there anyway to pickup font data in the directory in which the application runs or should always be the font in c:\windows\fonts directory to be recognized by HMG?
Is there anyway to embed ttf fonts?
Moderator: Rathinagiri
- Rathinagiri
- Posts: 5471
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Is there anyway to embed ttf fonts?
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
- dhaine_adp
- Posts: 457
- Joined: Wed Aug 06, 2008 12:22 pm
- Location: Manila, Philippines
Re: Is there anyway to embed ttf fonts?
Hi Rathi,Is there anyway to embed .ttf fonts in our applications? Otherwise, is there anyway to pickup font data in the directory in which the application runs or should always be the font in c:\windows\fonts directory to be recognized by HMG?
I believed windows handles this the way you say it. Additional fonts should be installed before it can be recognized.
To embed means to be installed if it is not available within the apps. or during the installation of the apps.
Your question is interesting to explore.
Regards,
Danny
Regards,
Danny
Manila, Philippines
Danny
Manila, Philippines
-
- Posts: 47
- Joined: Tue Jul 14, 2009 1:14 pm
- Location: Mar del Plata, Argentina
Is there anyway to embed ttf fonts?
Spanish :
-----------------
Hola
Mi nombre es Claudio y vivo en Mar del PLata, Argentina, he programado en clipper desde 1991 y desde hace 3 años empece a aprender sobre HMG e implementarlo.
Queria responder sobre este Topic que he leido.
Yo uso la siguiente funcion para cargar al windows un font :
Gracias por compartir sus conocimientos, Saludos a todos
Claudio
---------------------
Google Traslate English
----------------------
Hello:)
My name is Claudio and I live in Mar del Plata, Argentina, I have programmed in clipper since 1991 and since 3 years ago I started to learn about and implement HMG.
I wanted to respond on this topic that I have read.
I use the following function to load a font to windows:
Thanks for sharing your knowledge, Greetings
Claudio
-----------------
Hola
Mi nombre es Claudio y vivo en Mar del PLata, Argentina, he programado en clipper desde 1991 y desde hace 3 años empece a aprender sobre HMG e implementarlo.
Queria responder sobre este Topic que he leido.
Yo uso la siguiente funcion para cargar al windows un font :
Code: Select all
DECLARE DLL_TYPE_INT AddFontResource ( DLL_TYPE_LPCTSTR lpszFilename ) IN GDI32.DLL
function main()
...
if file( "quartzitalic.ttf" )
AddFontResource( "quartzitalic.ttf" )
endif
...
return
Claudio
---------------------
Google Traslate English
----------------------
Hello:)
My name is Claudio and I live in Mar del Plata, Argentina, I have programmed in clipper since 1991 and since 3 years ago I started to learn about and implement HMG.
I wanted to respond on this topic that I have read.
I use the following function to load a font to windows:
Code: Select all
DECLARE DLL_TYPE_INT AddFontResource ( DLL_TYPE_LPCTSTR lpszFilename ) IN GDI32.DLL
function main()
...
if file( "quartzitalic.ttf" )
AddFontResource( "quartzitalic.ttf" )
endif
...
return
Claudio
- Rathinagiri
- Posts: 5471
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: Is there anyway to embed ttf fonts?
Oh! Thanks a lot! I will try and tell you.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
- Alex Gustow
- Posts: 290
- Joined: Thu Dec 04, 2008 1:05 pm
- Location: Yekaterinburg, Russia
- Contact:
Re: Is there anyway to embed ttf fonts?
Good advice! Thanks Claudio!
Re: Is there anyway to embed ttf fonts?
Hola Claudio
Muy bueno tu aporte, Gracias
Saludos desde Mazatlán, México.
Juan Rendón
Muy bueno tu aporte, Gracias
Saludos desde Mazatlán, México.
Juan Rendón