Han icon indicating copy to clipboard operation
Han copied to clipboard

「漢字標準格式」印刷品般的漢字排版框架 Han.css: the CSS typography framework optimised for Hanzi.

Results 28 Han issues
Sort by recently updated
recently updated
newest added

當使用直排顯示時(用下列的 writing mode) > figure { > writing-mode: vertical-rl; > } 注音符號的聲符顯示的位置錯位,應該是沒有跟著九十度旋轉。 ![2017-12-01 7 48 26](https://user-images.githubusercontent.com/1303749/33474981-c44b5992-d6d0-11e7-9206-1ce74a14cfa5.png)

https://github.com/ethantw/Han/blob/master/src/sass/typography/ff/_songti.scss https://source.typekit.com/source-han-serif/

这个项目中,han.js 效果出众,但是整个 js 依赖浏览器环境,而且事实上只支持每个页面一个渲染区。想问问有没有计划让它做到: 1. 遵循 ES6 标准的模块化支持 2. 去除浏览器依赖 3. 不影响渲染区外的 DOM 元素(如 `body`),使得一个页面中能容纳多个渲染区及多次重渲染,支持 SPA 4. 支持主流 view 框架,如 Vue、React等,最好能够直接提供相关 component 希望能得到回复。 PS:我们在 [Immortal.Work](https://immortal.work) 中使用了这个项目的成果,但是用得并不是很爽。相信这些问题不少用户也遇到了,所以就权且在这里提出来。

此处的“啊”与最后的标点一样渲染成了 Songti SC 。 测试任意字符均有此 bug。

Han.css is developed using .sass format in most cases for its conciseness. From v3.1.0, where we started using Gulp for development, the main files (`src/sass/han.scss` and `index.scss`) switched to .scss...

bug

由「[issue #5](https://github.com/ethantw/Han/issues/5)」延伸出之``功能改進及修正: 1. [ ] 避頭尾 2. ~~不同字號下,注音符號可依其大小彈性縮放~~ 3. [x] ``替換為``後,應保留其原屬性 4. [x] 客語、威妥瑪拼音等調號(自v3.2.2起,不再使用偽元素顯示注文,故可正確顯示``元素) 5. ~~提供專用屬性`data-han-ruby-copyable`,可於「複製貼上」時,選用是否包含拼音及注音~~ 6. [x] 方言音「陽入韻」的連字(ligature)處理