View Single Post
  #14  
Old 21-02-2023, 14:05
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,754
Thanks: 2,191
Thanked 11,222 Times in 2,312 Posts
Razor12911 is on a distinguished road
Ah I remember now. I once had this problem in ASC (Advanced Setup Creator), this isn't a AddFontResource problem but rather a FMX problem on other platforms and the way I fixed it was temporarily placing the font in "C:\Windows\Fonts" you can use FileCopy after extracting temporary files, then adding the font name in Windows Registry in "Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Wi ndows NT\CurrentVersion\Fonts", with Font Name (TrueType) as value name and the font filename as value data. It's wise to check if the font exists in registry before doing this because you need to delete the registry and delete the file in deinitializesetup.
Attached Images
File Type: png fonts.PNG (99.4 KB, 281 views)
Reply With Quote
The Following 3 Users Say Thank You to Razor12911 For This Useful Post:
audiofeel (21-02-2023), hitman797 (24-02-2023), Tihiy_Don (28-01-2024)