mirror of
https://github.com/UglyToad/PdfPig.git
synced 2025-11-28 09:28:25 +08:00
only combine when it forms part of the same byte sequence
This commit is contained in:
@@ -295,7 +295,7 @@
|
||||
: currentState.CurrentStrokingColor;
|
||||
|
||||
Letter letter = null;
|
||||
if (Diacritics.IsInCombiningDiacriticRange(unicode) && letters.Count > 0)
|
||||
if (Diacritics.IsInCombiningDiacriticRange(unicode) && bytes.CurrentOffset > 0 && letters.Count > 0)
|
||||
{
|
||||
var attachTo = letters[letters.Count - 1];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user