mojik
mojik copied to clipboard
Take control of Japanese typesetting on the web
The throttle function is using `requestAnimationFrame` - but does not check whether or not it is available this can lead to `Uncaught ReferenceError: requestAnimationFrame is not defined`. This throttle function...
引用符を全角に
`‘`(U+2018)、`’`(U+2019)、`“`(U+201C)、`”`(U+201D)を全角にしたい。`font-feature-settings: "fwid"`?
`content: open-quote`などが指定されていたときも、同じように処理できると良さそうです。
CSSの`font-kerning`プロパティの初期値が`auto`であるため、意図せずツメられた結果行末が揃わないことがある。対処すべき? https://developer.mozilla.org/en-US/docs/Web/CSS/font-kerning https://twitter.com/monokano/status/652642843941404672
かっこよくしたい。図版もほしい。 https://terkel.github.io/mojik/
`display`プロパティが`none`の要素も対象になってしまっているが、無視したい。
禁則処理
たとえば「強い禁則」と「弱い禁則」を選択できるようにするとか。 http://d.hatena.ne.jp/ogwata/20111112/p1
うまい略し方が思いつかない
文字サイズなども考慮しつつ、うまくレイアウトする方法を探りたい
欧文の範囲
どこまで含めるべきか?