doomrealul Posted December 10, 2011 Author Share Posted December 10, 2011 Hey i was wondering how can i change the size of the font.As i've seen there is a font called font_default.I tried to make my own font but i failed.So im tring to change the font of the current font_default. Link to comment Share on other sites More sharing options...
Robin Posted December 10, 2011 Share Posted December 10, 2011 Edit the texture. Link to comment Share on other sites More sharing options...
doomrealul Posted December 10, 2011 Author Share Posted December 10, 2011 i tried something like this Font_Georgia.CharHeight = 20 but it still keep his old size. Link to comment Share on other sites More sharing options...
Robin Posted December 10, 2011 Share Posted December 10, 2011 @Robin:> Edit the texture. Link to comment Share on other sites More sharing options...
doomrealul Posted December 10, 2011 Author Share Posted December 10, 2011 ok i tried :Set Font_Georgia.Texture = Direct3DX8.CreateTextureFromFileEx(D3DDevice8, App.path & Path_Font & "georgia.png", 400, 400, 0, 0, D3DFMT_UNKNOWN, D3DPOOL_MANAGED, D3DX_FILTER_POINT, D3DX_FILTER_POINT, RGB(255, 0, 255), ByVal 0, ByVal 0) Font_Georgia.TextureSize.x = 400 Font_Georgia.TextureSize.y = 400Still didn't work.I don't know what you are refering on when u say edit the texture…. Link to comment Share on other sites More sharing options...
Ryujin Posted December 10, 2011 Share Posted December 10, 2011 Go in the Font Folder. Edit the Font Picture (Texture)! End…-.- Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now