Skip to content

Commit

Permalink
updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ibireme committed Nov 10, 2015
1 parent 17942e7 commit 56b1a1c
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -998,7 +998,7 @@ YYText 和 TextKit 架构对比
<img src="https://raw.github.com/ibireme/YYText/master/Demo/DemoSnapshot/text_vertical.gif" width="320">
<img src="https://raw.github.com/ibireme/YYText/master/Demo/DemoSnapshot/text_paste.gif" width="320">


安装
==============

Expand Down Expand Up @@ -1032,6 +1032,7 @@ YYText 和 TextKit 架构对比
### 注意
你可以添加 [YYImage](https://github.com/ibireme/YYWebImage)[YYWebImage](https://github.com/ibireme/YYWebImage) 来支持动图(GIF/APNG/WebP)的复制粘贴。


文档
==============
你可以在 [CocoaDocs](http://cocoadocs.org/docsets/YYText/) 查看在线 API 文档,也可以用 [appledoc](https://github.com/tomaz/appledoc) 本地生成文档。
Expand All @@ -1042,6 +1043,14 @@ YYText 和 TextKit 架构对比
该项目最低支持 iOS 6.0。


已知问题
==============
* YYText 并不能支持所有 CoreText/TextKit 的属性,比如 NSBackgroundColor、NSStrikethrough、NSUnderline、NSAttachment、NSLink 等,但 YYText 中基本都有对应属性作为替代。详情见上方表格。
* 当 YYLabel 的高度小于第一行文本的内容高度时,文本不会显示。
* 竖排版时,添加 exclusionPaths 在少数情况下可能会导致文本显示空白。
* 当添加了非矩形的 textContainerPath 时,并且有嵌入大于文本排版方向宽度的 RunDelegate 时,RunDelegate 后面的文字会无法显示。这是 CoreText 的 Bug(也可能是 Feature)。
* 在 iOS 7 的某些版本中,竖排版的中文字符可能会无法绘制,这可能是 CoreText 的 Bug,但还需要进一步的验证。

许可证
==============
YYText 使用 MIT 许可证,详情见 LICENSE 文件。

0 comments on commit 56b1a1c

Please sign in to comment.