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

การใช้ฟอนต์ตามภาษาที่ใช้ #15

Open
PhakphumV opened this issue Dec 2, 2021 · 1 comment

Comments

@PhakphumV
Copy link

CSS ใน @font-face สามารถระบุ unicode range ที่ใช้ฟอนต์ได้นะครับ
อยากเสนอให้ลองมีระบุฟอนต์ที่ใช้ตามภาษาด้วย เช่น ภาษาอังกฤษ เป็นฟอนต์หนึ่ง และภาษาไทยเป็นอีกฟอนต์หนึ่ง
เพราะหลายครั้ง ฟอนต์ที่ใช้เดียวกัน แต่พอเป็นคนละภาษา ขนาดไม่เท่ากัน

ตัวอย่างของ unicode range ภาษาไทยนะครับ

@font-face { ... unicode-range: U+0E00- U+0E7F; ... }

@mennwebs
Copy link
Contributor

mennwebs commented Dec 2, 2021

ขอบคุณมากเลยครับ

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

No branches or pull requests

2 participants