Skip to content

Commit

Permalink
Add a Syriac test case
Browse files Browse the repository at this point in the history
  • Loading branch information
cyanfish committed Jan 21, 2024
1 parent cece81a commit 42e4cb7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions NAPS2.Sdk.Tests/Pdf/PdfFontTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ internal async Task ExportAlphabetsWithPdfium(Alphabet alphabet, string langCode
new object[] { Alphabet.Malayalam, "mal", "ഹല\u0d47\u0d3e\u0d47ൾഡ\u0d4d", false },
new object[] { Alphabet.Myanmar, "mya", "မင\u103a\u1039ဂလ\u102c\u102bကမ\u1039\u102c\u1031\u102cက", false },
new object[] { Alphabet.Sinhala, "sin", "හ\u0dd9\u0dddවර\u0dca\u0dca\u0dca", false },
new object[] { Alphabet.Syriac, "syr", "ܐܘ ܢ\u0733ܫܐ ܟ\u0737ܬܠ\u0736ܗ", true },
new object[] { Alphabet.Tamil, "tam", "வணக\u0bcdகம\u0bcdஉலகம\u0bcd", false },
new object[] { Alphabet.Telugu, "tel", "హల\u0c4bవరల\u0c4d\u0c4d", false },
new object[] { Alphabet.Thaana, "div", \u07acލ\u07afދ\u07aaނ\u07a8ޔ\u07ac", true },
Expand Down
1 change: 0 additions & 1 deletion NAPS2.Sdk/Pdf/PdfFontPicker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ private static string GetWindowsFont(Alphabet alphabet)
Alphabet.Myanmar => "Myanmar Text",
// Alphabet.Oriya => "",
Alphabet.Sinhala => "Nirmala UI",
// Alphabet.Syriac => "",
Alphabet.Tamil => "Nirmala UI",
Alphabet.Telugu => "Nirmala UI",
Alphabet.Thaana => "MV Boli",
Expand Down

0 comments on commit 42e4cb7

Please sign in to comment.