Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

web font for iast? #170

Open
funderburkjim opened this issue Jul 3, 2024 · 2 comments
Open

web font for iast? #170

funderburkjim opened this issue Jul 3, 2024 · 2 comments

Comments

@funderburkjim
Copy link
Contributor

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

Anomaly


On my system, that character DOES display.

scott_candra_bindu
@funderburkjim
Copy link
Contributor Author

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
Copy link
Contributor Author

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

  • since the problem occurred with 'bold' text but not 'normal' text, the web font
    should handle bold as well as normal text
    b. modify csl-websanlexicon to make use of this web font (for basic, etc. displays)
  • several places to modify
    c. make similar modifications to csl-apidev for simple-search displays

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant