Commit 42d458a
authored
charset: Add Devanagari Unicode range to utf-8 charsets (#141)
Adds charset configuration for Devanagari (U+0900-097F) in texttopdf.
This enables correct font selection for Devanagari text by mapping the Unicode range to appropriate fonts such as NotoSansDevanagari.
With this change, texttopdf can correctly process and render Devanagari text when suitable fonts are available on the system.
Note: This relies on proper font selection behavior (see related fix removing monospace-only constraint restriction).1 parent 3ee9507 commit 42d458a
2 files changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
34 | 35 | | |
0 commit comments