GDI+ Custom Font Help

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
vanheartnet098
Posts: 61
Joined: 01 Sep 2020, 09:49

GDI+ Custom Font Help

Post by vanheartnet098 » 14 Apr 2023, 03:19

How can I include custom Font in a GDI+ bitmap

Code: Select all

Brush := Gdip_BrushCreateSolid( "0xFF000000" )
Gdip_TextToGraphics( G , "WINDOW STRING PRINTER" , "s25 Center vCenter Bold c" Brush " x29 y10" , "Arial Black" , 390 , 50 )
Gdip_DeleteBrush( Brush )
Im using this code to create text Font in my Gui, but I want to customize the fonts in my pBitmap without installing the font file. I already tried the custom_Font lib but no luck.

Return to “Ask for Help (v1)”