vincentdoerig / latex-css

LaTeX.css is a CSS library that makes your website look like a LaTeX document
https://latex.vercel.app
MIT License
2.74k stars 125 forks source link

Support Arabic language. #21

Closed Faares closed 3 years ago

Faares commented 4 years ago

translation and RTL direction. fortunately, the font used is supports Arabic in a beautiful way. you can see a picture from a demo here.

vercel[bot] commented 4 years ago

This pull request is being automatically deployed with Vercel (learn more). To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/vincentdoerig/latex-css/nsg1cvruq ✅ Preview: https://latex-css-git-fork-faares-master.vincentdoerig.now.sh

mrg0lden commented 4 years ago

@Faares

A small note: The used font DOES NOT support Arabic by default; however, the CSS definition falls back to the default serif font of the OS. This is how it looks on Windows with Arial being the serif fallback font.

image

Faares commented 4 years ago

Thank you @mrg0lden, I notice that. The font in the demo picture is GNU Freefont. And for now, I will keep the choice for the user and his OS.

vincentdoerig commented 3 years ago

Closing this due to inactivity.