当サイトはユーザー体験を改善するためのメンテナンスを実施中に機能が制限される予定です。記事を読んでもあなたの問題が解決せず質問をしたい場合は、Twitter の @FirefoxSupport、Reddit の /r/firefox で、サポートコミュニティが皆さんを助けようと待機しています。

Mozilla サポートの検索

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

What is the "generic family" for kaiti fonts?

  • 1 件の返信
  • 1 人がこの問題に困っています
  • 7 回表示
  • 最後の返信者: home user

more options

background: I am trying to *make* (not view) a web page in which Chinese and English are mixed within sentences. I want the Chinese text to be displayed in a kaiti font regardless of operating system. I should be able to do this with the CSS "font-family" attribute. But I cannot find the correct "font-family" or "generic family" values for kaiti fonts. I've tried all the valid "generic family" values. I've also tried many font-family values ("kai", "kai ti", "kai-ti", "kai shu", "zhneg kai", "regular", and many others). But I keep getting a ming font unless the font-family list starts with "ur pl ukai cn" (the kaiti font on my Fedora system).

the question: When Mozilla coded Firefox, what was programmed as the "generic family" for Chinese kaiti fonts?

By the way, according to W3C ("https://www.w3.org/TR/css-fonts-4/"), the "generic family" for kaiti fonts should be "cursive" (without the quotes).

background: I am trying to *make* (not view) a web page in which Chinese and English are mixed within sentences. I want the Chinese text to be displayed in a kaiti font regardless of operating system. I should be able to do this with the CSS "font-family" attribute. But I cannot find the correct "font-family" or "generic family" values for kaiti fonts. I've tried all the valid "generic family" values. I've also tried many font-family values ("kai", "kai ti", "kai-ti", "kai shu", "zhneg kai", "regular", and many others). But I keep getting a ming font unless the font-family list starts with "ur pl ukai cn" (the kaiti font on my Fedora system). the question: When Mozilla coded Firefox, what was programmed as the "generic family" for Chinese kaiti fonts? By the way, according to W3C ("https://www.w3.org/TR/css-fonts-4/"), the "generic family" for kaiti fonts should be "cursive" (without the quotes).

すべての返信 (1)

more options

Two corrections of typos in my original post: > "zhneg kai" It's "zheng kai", not "zhneg kai". > "ur pl ukai cn" It's "ar pl ukai cn", not "ur pl ukai cn".