View Single Post
  #9 (permalink)  
Old 02-25-2007, 09:24 PM
Merick's Avatar
Merick Merick is offline
Member
My Mood:
 
Join Date: Feb 2007
Posts: 45
Points: 73.58
Donate
well, the page that I found the functions on only has this basic info about them:

Font Font:setCharSize(number width, number height, number dpiX, number dpiY)

Changes the size of the current font to the specified point size height and width (if width is 0, it will be calculated proportional to the height for every character). dpiX and dpiY is the resolution of the display (see the Freetype documentation for details).

Font Font:setPixelSizes(number width, number height)

Changes the size of the current font to the specified pixel size height and width (if width is 0, it will be calculated proportional to the height for every character). (see the Freetype documentation for details).

that page has no detailed instructions on how to actually use them, I've only been able to learn this much by looking through a number of different pieces of code from various sites


the page where I found them:
psp:lua_player:functions [psDevWiki]

I did do a short search for the freetype docs they mentioned, but I got tired of that and wanted to get back to my game engine

Last edited by Merick : 02-25-2007 at 09:26 PM.
Reply With Quote