Browse Source

* Fix windows unicodertl compilation

Michaël Van Canneyt 1 year ago
parent
commit
37654bda66
1 changed files with 1 additions and 0 deletions
  1. 1 0
      packages/fcl-pdf/src/fpttf.pp

+ 1 - 0
packages/fcl-pdf/src/fpttf.pp

@@ -171,6 +171,7 @@ uses
   ,WinApi.Windows  // for SHGetFolderPath API call used by gTTFontCache.ReadStandardFonts() method
   ,WinApi.Windows  // for SHGetFolderPath API call used by gTTFontCache.ReadStandardFonts() method
   ,WinApi.Shlobj
   ,WinApi.Shlobj
   ,WinApi.Activex
   ,WinApi.Activex
+  ,System.Registry
   {$endif}
   {$endif}
   {$if (defined(LINUX) or defined(BSD)) and not defined(DARWIN)}
   {$if (defined(LINUX) or defined(BSD)) and not defined(DARWIN)}
   , Api.Libfontconfig
   , Api.Libfontconfig