Skip to content
Permalink
Browse files

bugfix: Acumin Pro SemiCondensed is not detected

  • Loading branch information
tim-lebedkov committed Mar 13, 2020
1 parent cd0439c commit 27343019b7e6c6dd2787480756a34e0e935ce2d1
Showing with 1 addition and 1 deletion.
  1. +1 −1 SynPdf.pas
@@ -5325,7 +5325,7 @@ function EnumFontsProcW(var LogFont: TLogFontW; var TextMetric: TTextMetric;
var Temp: RawUTF8;
begin
with LogFont do
if (FontType=TRUETYPE_FONTTYPE) and (lfFaceName[0]<>'@') then begin
if ((FontType=DEVICE_FONTTYPE) or (FontType=TRUETYPE_FONTTYPE)) and (lfFaceName[0]<>'@') then begin
Temp := RawUnicodeToUtf8(lfFaceName,StrLenW(lfFaceName));
if (pointer(List)=nil) or (List[high(List)]<>Temp) then
AddRawUTF8(List,Temp,true,true);

0 comments on commit 2734301

Please sign in to comment.
You can’t perform that action at this time.