:: PlayerAdvance.org ::

:: PlayerAdvance.org :: (http://www.playeradvance.org/forum/index.php)
-   Aide au développement (http://www.playeradvance.org/forum/forumdisplay.php?f=185)
-   -   Modified font2osl (support bold and italic) (http://www.playeradvance.org/forum/showthread.php?t=22265)

sakya 08/04/2008 12h29

Modified font2osl (support bold and italic)
 
1 pièce(s) jointe(s)
Hi! :)

I modified font2osl to support bold and italic.

Code:

================================== FONT2OSL ==================================
Utility for converting a Windows font or creating your own for use with OSLib.

======
Usage:
======
font2osl -convert "YourWindowsFont" fontSize "YourFontName.bmp" "YourFontName.txt" [-i -b]
    -i = italic
    -b = bold
font2osl -create "YourFontName.bmp" "YourFontName.txt" "YourFinalFontName.oft"

=========
Examples:
=========
font2osl -convert "Verdana" 13 "verdana.bmp" "verdana.txt"
font2osl -create "verdana.bmp" "verdana.txt" "verdana.oft"

The rar contains source code and binary.

Ciaooo
Sakya

sakya 08/04/2008 14h18

1 pièce(s) jointe(s)
Hi! :)

Sorry, but the version attacched to the first post is wrong (and I cannot update the file).
Download this, instead. ;)

Ciaooo
Sakya

daaa57150 09/04/2008 15h48

thanks for your work!

Yodajr 09/04/2008 16h58

Yes, thank you for sharing :)


Fuseau horaire GMT +2. Il est actuellement 23h09.

Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd. Tous droits réservés.
Version française #16 par l'association vBulletin francophone