SynEdit: Prepare displaying ligatures (experimental, window only)

git-svn-id: trunk@39543 -
This commit is contained in:
martin 2012-12-14 18:58:30 +00:00
parent 5abfc81665
commit c76c2bdb6f

View File

@ -110,8 +110,10 @@ begin
i := GetCharacterPlacementW(FHandleOwner.Handle, pwidechar(s), length(s), 0,
@cpRes, GCP_DIACRITIC + GCP_KASHIDA + GCP_LIGATE);
if i = 0 then
if i = 0 then begin
debugln(LOG_SynSystemWidthChars, ['TSynEditStringSystemWidthChars FAILED for line ', Index]);
exit;
end;
k := 0; // index for order