Library containing AddFontResource lazarus / 31-LCL ---------------------------------------------------------------------- tguns · 2011-05-26 10:28 Hey guys, I searched for how to import custom font. Found that it's possible through Code: [Select]AddFontResource(...) Problem is that I can't find out which library I have to include to make it work. The guide said ShellAPI, but Lazarus still doesn't identify the procedure. Any help here? Thank you. ---------------------------------------------------------------------- eny · 2011-05-26 12:46 In general you can easily scan the lazarus/FPC source directories for this procedure. But it's 'windows'. Note there's also: RemoveFontResource(...); ---------------------------------------------------------------------- tguns · 2011-05-26 13:24 Oh didn't know that, never had to deal with problem like this before. But thanks to you, my application is now a little bit sexier. ---------------------------------------------------------------------- eny · 2011-05-26 13:36 Quote from: tguns on May 26, 2011, 03:24:36 pmBut thanks to you, my application is now a little bit sexier. Hm, I wonder what font you use then