sanskrit-lexicon / MWS

Monier Monier-Williams, Sir; A Sanskrit-English dictionary. Oxford, 1899
Other
7 stars 5 forks source link

web font for iast? #170

Open funderburkjim opened 1 week ago

funderburkjim commented 1 week ago

@aumsanskrit mentions that a candra-bindu (bold) did not render.

Anomaly


On my system, that character DOES display.

scott_candra_bindu
funderburkjim commented 1 week ago

Text marked as sanskrit (the <s> tag) is displayed according to the 'output' type selection.
When the output is Devanagari, a special 'web font' is used (currently siddhanta1) -- this can be confirmed by (a) right-clicking on some devanagari text, and choosing 'inspect' -- then 'computed' -- this will show the font:

image

Doing the same thing for iast output, we see

image

Notice that a local font is being used.

funderburkjim commented 1 week ago

So this iast text is rendered by a local font rather than a system font.
There is some difference between Scott's local (default browser) font and mine.

It would be possible to use a web-font for iast. a. Choose such a web font

I don't plan to do these modifications now; maybe this open issue will catch someone's attention sometime.