Skip to content

Commit 9550d79

Browse files
committed
Update
1 parent da02cc7 commit 9550d79

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

‎CustomView/Fix/DrawText.md‎

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,16 @@
1414
1515
在默认情况下基线如下图所示:
1616

17-
## 分析原因
17+
## 分析这样设计的原因
18+
19+
**Q: 为何要采用底部基线对齐方式?**
20+
21+
> A : 既然采用这种对齐方式,必然有其缘由,至少不是为了坑我这种小白。据本人猜测可能有以下原因:
22+
* 1.符合人类书写习惯,不论是汉字还是英文或是其他语言,我们在只有横线的纸上书写的时候都是以下面的一条线为基准线的,而不是上面那条线。
23+
* 2.字体的特点,字的显示不仅有有中文汉字,还有一些特殊字符,如果把对齐的基线放到上面要么显示整齐,要么设计太麻烦。
24+
25+
1826

19-
** Q: 为何要采用基线对齐方式?**
2027

21-
> A :
2228

2329

0 commit comments

Comments
 (0)