You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The top of the em square is roughly at the top of the glyphs in a font, the hanging baseline is where some glyphs like आ are anchored, the middle is half-way between the top of the em square and the bottom of the em square, the alphabetic baseline is where characters like Á, ÿ, f, and Ω are anchored, the ideographic-under baseline is where glyphs like 私 and 達 are anchored, and the bottom of the em square is roughly at the bottom of the glyphs in a font. The top and bottom of the bounding box can be far from these baselines, due to glyphs extending far outside the em square.
5538
+
The em-over baseline is roughly at the top of the glyphs in a font, the hanging baseline is where some glyphs like आ are anchored, the middle is half-way between the em-over and em-under baselines, the alphabetic baseline is where characters like Á, ÿ, f, and Ω are anchored, the ideographic-under baseline is where glyphs like 私 and 達 are anchored, and the em-under baseline is roughly at the bottom of the glyphs in a font. The top and bottom of the bounding box can be far from these baselines, due to glyphs extending far outside em-over and em-under baselines.
The distance from the horizontal line indicated by the textBaseline attribute to the highest top of the em squares in the inline box, in CSS pixels; positive numbers indicating that the given baseline is below the top of that em square (so this value will usually be positive). Zero if the given baseline is the top of that em square; half the font size if the given baseline is the middle of that em square.
9961
+
The distance from the horizontal line indicated by the textBaseline attribute to the em-over baseline in the inline box, in CSS pixels; positive numbers indicating that the given baseline is below the em-over baseline (so this value will usually be positive). Zero if the given baseline is the em-over baseline; half the font size if the given baseline is halfway between the em-over baseline and the em-under baseline.
9965
9962
</dd>
9966
9963
9967
9964
<dt>`emHeightDescent@tM</dt>
9968
9965
<dd>
9969
9966
[
9970
9967
`textBaseline$2d 属性により指示される水平線
9971
-
]から[
9972
-
`行内~box$内の~em平方の最も低い下端
9973
-
]までの距離を返す
9968
+
]から `em-under$bL 基底線までの距離を返す
9974
9969
— 正な数は、
9975
-
所与の基底線が~em平方の下端より上にあることを指示する
9976
-
(所与の基底線が~em平方の下端にあるならば、
9977
-
0 になる)。
9970
+
所与の基底線は `em-under$bL 基底線より上にあることを指示する
9971
+
(所与の基底線が `em-under$bL 基底線ならば, 0 になる)。
9978
9972
◎
9979
-
The distance from the horizontal line indicated by the textBaseline attribute to the lowest bottom of the em squares in the inline box, in CSS pixels; positive numbers indicating that the given baseline is above the bottom of that em square. (Zero if the given baseline is the bottom of that em square.)
9973
+
The distance from the horizontal line indicated by the textBaseline attribute to the em-under baseline in the inline box, in CSS pixels; positive numbers indicating that the given baseline is above the em-under baseline. (Zero if the given baseline is the em-under baseline.)
9980
9974
</dd>
9981
9975
9982
9976
<dt>`hangingBaseline@tM</dt>
@@ -9987,9 +9981,8 @@ <h6 title="Drawing text to the bitmap">4.12.5.1.11. ~bitmapへの~textの描法<
9987
9981
`行内~box$の `hanging$bL 基底線
9988
9982
]までの距離を返す
9989
9983
— 正な数は、
9990
-
所与の基底線が `hanging$bL 基底線より下にあることを指示する。
9991
-
(所与の基底線がその~em平方の `hanging$bL 基底線ならば、
9992
-
0 になる。)
9984
+
所与の基底線は `hanging$bL 基底線より下にあることを指示する。
9985
+
(所与の基底線が `hanging$bL 基底線ならば, 0 になる。)
9993
9986
◎
9994
9987
The distance from the horizontal line indicated by the textBaseline attribute to the hanging baseline of the inline box, in CSS pixels; positive numbers indicating that the given baseline is below the hanging baseline. (Zero if the given baseline is the hanging baseline.)
9995
9988
</dd>
@@ -10014,12 +10007,12 @@ <h6 title="Drawing text to the bitmap">4.12.5.1.11. ~bitmapへの~textの描法<
10014
10007
<pclass="note">注記:
10015
10008
`fillText()$2d / `strokeText()$2d
10016
10009
を利用して描画された~glyphたちは、
10017
-
~font~sizeにより与えられる~box(~em平方~size)や,
10010
+
~font~sizeにより与えられる~boxや,
10018
10011
`measureText()$2d ( ~text横幅 )から返される横幅をはみ出し得る。
10019
10012
作者には、
10020
10013
これが課題になる場合には,上に述べた限界~box値を利用することが奨励される。
10021
10014
◎
10022
-
Glyphs rendered using fillText() and strokeText() can spill out of the box given by the font size (the em square size) and the width returned by measureText() (the text width). Authors are encouraged to use the bounding box values described above if this is an issue.
10015
+
Glyphs rendered using fillText() and strokeText() can spill out of the box given by the font size and the width returned by measureText() (the text width). Authors are encouraged to use the bounding box values described above if this is an issue.
0 commit comments