[Module] FontEx (dynamic fonts)

Applications, Games, Tools, User libs and useful stuff coded in PureBasic
User avatar
Thorsten1867
Addict
Addict
Posts: 1366
Joined: Wed Aug 24, 2005 4:02 pm
Location: Germany

[Module] FontEx (dynamic fonts)

Post by Thorsten1867 »

FontEx - Module (all OS / 64Bit / DPI)
  • Font management
  • automatic size adjustment of gadget texts
  • determine the required font size

Code: Select all

; FontEx::AddGadget()      - add gadget to work with FontEx and load the required font if necessary.
; FontEx::FitText()        - fit font size for current text
; FontEx::SetAttribute()   - [#Minimum / #Maximum / #Padding / #PaddingX / #PaddingY]
; FontEx::SetFont()        - change the font of the gadget and load the required font if necessary.
; FontEx::SetText()        - set text and fit font size
Download: FontExModule.pbi
Translated with http://www.DeepL.com/Translator

Download of PureBasic - Modules
Download of PureBasic - Programs

[Windows 11 x64] [PB V5.7x]