Skip to content

Commit

Permalink
Ocr: Update alphabet selection for Fraktur
Browse files Browse the repository at this point in the history
  • Loading branch information
cyanfish committed Jul 6, 2024
1 parent fef0cb8 commit 5e1c217
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NAPS2.Sdk/Pdf/PdfFontPicker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ public static Alphabet MapLanguageCodeToAlphabet(string languageCode)
"slv" or "spa" or "sqi" or "srp_latn" or "sun" or "swa" or "swe" or "tat" or "ton" or "tur" or "uzb" or
"yor" => Alphabet.Latin,
// Tesseract has separate "scripts" for Fraktur and Vietnamese but they both just use Latin characters
"enm" or "frm" or "frk" or "ita_old" or "spa_old" or "vie" => Alphabet.Latin,
"enm" or "frm" or "deu_latf" or "ita_old" or "spa_old" or "vie" => Alphabet.Latin,
"mal" => Alphabet.Malayalam,
"mya" => Alphabet.Myanmar,
"ori" => Alphabet.Oriya,
Expand Down

0 comments on commit 5e1c217

Please sign in to comment.