{"id":9972,"date":"2019-06-20T07:35:21","date_gmt":"2019-06-19T22:35:21","guid":{"rendered":"https:\/\/blog.antenna.co.jp\/ILSoft2\/?p=9972"},"modified":"2019-06-20T07:35:21","modified_gmt":"2019-06-19T22:35:21","slug":"ah-formatter-line-height%e3%83%97%e3%83%ad%e3%83%91%e3%83%86%e3%82%a3","status":"publish","type":"post","link":"https:\/\/blog.antenna.co.jp\/ILSoft2\/archives\/9972\/","title":{"rendered":"[AH Formatter] line-height\u30d7\u30ed\u30d1\u30c6\u30a3"},"content":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306f\u3002<br \/>\nAH Formatter\u30b5\u30dd\u30fc\u30c8\u62c5\u5f53\u3067\u3059\u3002<\/p>\n<p>\u4eca\u56de\u306f XSL-FO \u306e line-height \u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u304a\u8a71\u3067\u3059\u3002<br \/>\nline-height\u30d7\u30ed\u30d1\u30c6\u30a3\u306f\u3001\u884c\u9ad8\u3055\u3092\u6307\u5b9a\u3059\u308b\u3082\u306e\u3067\u3059\u304c\u3001<br \/>\n\u305d\u306e\u5024\u306f\u6b21\u306e\u3088\u3046\u306a\u7a2e\u985e\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>normal\uff1a<br \/>\nline-height-&#8220;normal&#8221; \u306e\u3088\u3046\u306b\u6307\u5b9a\u3057\u307e\u3059\u3002\u65e2\u5b9a\u5024\u3067\u3059\u3002\u30e6\u30fc\u30b6\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\uff08AH Formatter\uff09\u304c\u9069\u5207\u306a\u5024\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002<br \/>\nAH Formatter\u3067\u306fline-height=&#8221;1.2&#8243; \u3092\u521d\u671f\u8a2d\u5b9a\u3068\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u5024\u306f\u30aa\u30d7\u30b7\u30e7\u30f3\u8a2d\u5b9a\u306b\u3088\u3063\u3066\u5909\u66f4\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002<br \/>\n&lt;length&gt;\uff1a<br \/>\nline-height=&#8221;20pt&#8221; \u306e\u3088\u3046\u306b\u6570\u5024\uff0b\u5358\u4f4d\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<br \/>\n&lt;number&gt;\uff1a<br \/>\n\u30d5\u30a9\u30f3\u30c8\u30b5\u30a4\u30ba\u306b\u5bfe\u3059\u308b\u500d\u6570\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002line-height=&#8221;1.5&#8243; \u306e\u3088\u3046\u306b\u6307\u5b9a\u3057\u307e\u3059\u3002<br \/>\n&lt;percentage&gt;\uff1a<br \/>\n\u30d5\u30a9\u30f3\u30c8\u30b5\u30a4\u30ba\u306b\u5bfe\u3059\u308b\u30d1\u30fc\u30bb\u30f3\u30c6\u30fc\u30b8\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002line-height=&#8221;150%&#8221; \u306e\u3088\u3046\u306b\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u3053\u3067\u3001\uff11\u3064\u7591\u554f\u306b\u601d\u308f\u308c\u305f\u65b9\u304c\u3044\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<br \/>\nline-height=&#8221;1.5&#8243; \u3068 line-height=&#8221;150%&#8221; \u3063\u3066\u7d50\u5c40\u540c\u3058\u3058\u3083\u306a\u3044\u306e\uff1f \u3068\u3002<\/p>\n<p>\u5b9f\u969b\u306b\u7d44\u7248\u3057\u3066\u307f\u308b\u3068\u3001\u3053\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n\u4f8b\uff11\uff1a<br \/>\n&lt;fo:block line-height=&#8221;1.5&#8243;&gt;line-height=&#8221;1.5&#8243;&lt;\/fo:block&gt;<br \/>\n&lt;fo:block line-height=&#8221;150%&#8221;&gt;line-height=&#8221;150%&#8221;&lt;\/fo:block&gt;<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.antenna.co.jp\/AHF\/blog\/201906\/201906-1.png\" alt=\"line-height \u30d7\u30ed\u30d1\u30c6\u30a3\" \/><\/p>\n<p>\u305d\u3046\u3067\u3059\u3001\u201d\u3053\u306e\u5834\u5408\u201d\u306e\u884c\u9ad8\u3055\u306f\u540c\u3058\u3067\u3059\u3002<br \/>\n\u4f8b\u3048\u3070\u30d5\u30a9\u30f3\u30c8\u30b5\u30a4\u30ba\u304c 30pt \u306e\u5834\u5408\u3001\u3069\u3061\u3089\u3082\u30d5\u30a9\u30f3\u30c8\u30b5\u30a4\u30ba 30pt \u00d7 1.5 \u3067\u884c\u9ad8\u3055\u306f 45pt \u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n\u3067\u306f\u3001&lt;number&gt; \u3068 &lt;percentage&gt; \u3067\u4f55\u304c\u9055\u3046\u306e\u304b\u3002<br \/>\nXSL-FO \u306e\u4ed5\u69d8\u8aac\u660e\u3092\u307f\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>&lt;number&gt;<br \/>\nThe computed value of the property is this number multiplied by the element&#8217;s font size. Negative values are illegal.<br \/>\nHowever, the number, not the computed value, is inherited.<\/p>\n<p>&lt;percentage&gt;<br \/>\nThe computed value of the property is this percentage multiplied by the element&#8217;s computed font size. Negative values are illegal.<\/p>\n<p>\u3069\u3061\u3089\u306e\u8aac\u660e\u3082\u524d\u534a\u306e\u610f\u5473\u306f\u540c\u3058\u3067\u3059\u304c\u3001&lt;number&gt; \u306b\u306f\u3053\u306e\u4e00\u6587\u304c\u8ffd\u52a0\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>However, the number, not the computed value, is inherited.<br \/>\n\u65e5\u672c\u8a9e\u8a33\uff1a\u3057\u304b\u3057\u306a\u304c\u3089\u3001\u8a08\u7b97\u3055\u308c\u305f\u5024\u3067\u306f\u306a\u304f\u3001\u6570\u5024\u304c\u7d99\u627f\u3055\u308c\u308b\u3002<\/p>\n<p>line-height \u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u5024\u306f\u7d99\u627f\u3055\u308c\u307e\u3059\u3002\u89aablock \u3067\u6307\u5b9a\u3055\u308c\u305f\u5024\u304c\u5b50\uff08\u5b50\u5b6b\uff09block \u306b\u3082\u9069\u7528\u3055\u308c\u307e\u3059\u3002<br \/>\n\u89aablock \u306b line-height=&#8221;1.5&#8243; \u307e\u305f\u306f 150% \u304c\u6307\u5b9a\u3055\u308c\u3066\u3044\u3066\u3001<br \/>\n\u5b50\uff08\u5b50\u5b6b\uff09\u306e block \u3067\u30d5\u30a9\u30f3\u30c8\u30b5\u30a4\u30ba\u304c\u5909\u66f4\u3055\u308c\u305f\u3068\u304d\u3001\u3053\u306e &#8220;the number, not the computed value, is inherited.&#8221; \u304c\u95a2\u4fc2\u3057\u3066\u304f\u308b\u306e\u3067\u3059\u3002<br \/>\n\u4f8b\u3048\u3070\u3001\u6b21\u306e\u3088\u3046\u306a\u5834\u5408\u3067\u3059\u3002<\/p>\n<p>\u4f8b\uff12\uff1a<br \/>\n&lt;fo:block font-size=&#8221;30pt&#8221; line-height=&#8221;1.5&#8243;&gt;<br \/>\n&lt;fo:block font-size=&#8221;20pt&#8221;&gt;line-height=&#8221;1.5&#8243;&lt;\/fo:block&gt;<br \/>\n&lt;fo:block &gt;line-height=&#8221;1.5&#8243;&lt;\/fo:block&gt;<br \/>\n&lt;\/fo:block&gt;<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.antenna.co.jp\/AHF\/blog\/201906\/201906-2.png\" alt=\"line-height \u30d7\u30ed\u30d1\u30c6\u30a3\" \/><\/p>\n<p>\u4f8b\uff13\uff1a<br \/>\n&lt;fo:block font-size=&#8221;30pt&#8221; line-height=&#8221;150%&#8221;&gt;<br \/>\n&lt;fo:block font-size=&#8221;20pt&#8221;&gt;line-height=&#8221;150%&#8221;&lt;\/fo:block&gt;<br \/>\n&lt;fo:block &gt;line-height=&#8221;150%&#8221;&lt;\/fo:block&gt;<br \/>\n&lt;\/fo:block&gt;<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.antenna.co.jp\/AHF\/blog\/201906\/201906-3.png\" alt=\"line-height \u30d7\u30ed\u30d1\u30c6\u30a3\" \/><\/p>\n<p>\u3069\u3061\u3089\u3082\u89aablock \u3067 line-height \u3092\u6307\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n\uff11\u3064\u3081\u306e\u5b50block \u3067\u3001\u30d5\u30a9\u30f3\u30c8\u30b5\u30a4\u30ba\u3092\u5909\u66f4\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>&lt;number&gt;\u306e\u5834\u5408\u306f\u3001\u6307\u5b9a\u3055\u308c\u305f\u6570\u5024\u304c\u7d99\u627f\u3055\u308c\u307e\u3059\u3002<br \/>\nline-height=&#8221;1.5&#8243; \u306e\u5834\u5408\u3001&#8221;1.5&#8243; \u306e\u5024\u304c\u7d99\u627f\u3055\u308c\u3066<br \/>\n\u30d5\u30a9\u30f3\u30c8\u30b5\u30a4\u30ba\u304c\u5909\u66f4\u306b\u306a\u308b\u3068\u3001\u305d\u306e block \u306e\u30d5\u30a9\u30f3\u30c8\u30b5\u30a4\u30ba\u00d71.5 \u306e\u884c\u9ad8\u3055\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n\u4f8b\uff12\u3067\u306f\uff11\u3064\u3081\u306e\u5b50block \u306f\u300120pt\u00d71.5 \u306735pt\u30012\u3064\u3081\u306e\u5b50block \u304c 30pt\u00d71.5 \u3067 45pt \u306e\u884c\u9ad8\u3055\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>&lt;percentage&gt;\u306e\u5834\u5408\u306f\u3001\u305d\u308c\u304c\u6307\u5b9a\u3055\u308c\u305f\u3068\u304d\u306e\u30d5\u30a9\u30f3\u30c8\u30b5\u30a4\u30ba\u304b\u3089\u8a08\u7b97\u3055\u308c\u305f\u5024\u304c\u7d99\u627f\u3055\u308c\u307e\u3059\u3002<br \/>\n\u4f8b\uff13\u3067\u306f\u3001\u89aablock \u306e font-size=&#8221;30pt&#8221; line-height=&#8221;150%&#8221; \u304b\u3089\u884c\u9ad8\u3055\u306f 45pt \u3068\u8a08\u7b97\u3055\u308c\u307e\u3059\u3002<br \/>\n\uff08line-height \u306e\u6307\u5b9a\u304c\u306a\u3044\uff09\u5b50block \u306b\u306f\u3001\u305d\u306e &#8220;45pt&#8221; \u306e\u5024\u304c\u7d99\u627f\u3055\u308c\u307e\u3059\u3002<br \/>\n1\u3064\u3081\u306e\u5b50block \u3082 2\u3064\u3081\u306e\u5b50block \u3082\u540c\u3058 45pt \u306e\u884c\u9ad8\u3055\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u4e21\u8005\u306e\u9055\u3044\u306b\u6ce8\u610f\u3057\u3066\u304a\u4f7f\u3044\u304f\u3060\u3055\u3044\u3002<\/p>\n<p><a href=\"https:\/\/www.antenna.co.jp\/AHF\/\"><img decoding=\"async\" src=\"https:\/\/www.antenna.co.jp\/AHF\/ahf_img\/v6logo.png\" alt=\"AH Formatter \u30ed\u30b4\" width=\"650\" \/><\/a><\/p>\n<p>\u300eAH Formatter\u300f\u306e\u8a55\u4fa1\u7248\u306f\u4ee5\u4e0b\u306e\u30da\u30fc\u30b8\u3088\u308a\u304a\u7533\u3057\u8fbc\u307f\u3044\u305f\u3060\u3051\u307e\u3059\u3002\u662f\u975e\u3001\u304a\u8a66\u3057\u304f\u3060\u3055\u3044\u3002<br \/>\n\u2192 <a href=\"https:\/\/www.antenna.co.jp\/AHF\/trial.html\">AH Formatter \u8a55\u4fa1\u7248\u306e\u304a\u7533\u3057\u8fbc\u307f<\/a><\/p>\n<p>XSL-FO \u306e\u57fa\u672c\u4ed5\u69d8\u3068\u300eAH Formatter\u300f\u306e\u62e1\u5f35\u6a5f\u80fd\u3092\u304a\u8a66\u3057\u3044\u305f\u3060\u3051\u308b\u3088\u3046\u300c<a href=\"https:\/\/www.antenna.co.jp\/AHF\/ahf_samples\/sample-fo.html\">\u30b5\u30f3\u30d7\u30eb FO \u96c6<\/a>\u300d\u3082\u3054\u7528\u610f\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u300eAH Formatter\u300f\u306b\u3064\u3044\u3066\u304a\u554f\u3044\u5408\u308f\u305b\u304c\u3054\u3056\u3044\u307e\u3057\u305f\u3089 sis@antenna.co.jp \u5b9b\u3066\u306b\u3054\u9023\u7d61\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306f\u3002 AH Formatter\u30b5\u30dd\u30fc\u30c8\u62c5\u5f53\u3067\u3059\u3002 \u4eca\u56de\u306f XSL-FO \u306e line-height \u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u304a\u8a71\u3067\u3059\u3002 line-height\u30d7\u30ed\u30d1\u30c6\u30a3\u306f\u3001\u884c\u9ad8\u3055\u3092\u6307\u5b9a\u3059\u308b\u3082\u306e\u3067\u3059\u304c\u3001 \u305d\u306e\u5024\u306f\u6b21\u306e\u3088\u3046\u306a\u7a2e\u985e [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25,48],"tags":[261,661],"class_list":["post-9972","post","type-post","status-publish","format-standard","hentry","category-ah-formatter","category-xsl-fo","tag-xsl-fo","tag-661"],"_links":{"self":[{"href":"https:\/\/blog.antenna.co.jp\/ILSoft2\/wp-json\/wp\/v2\/posts\/9972","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.antenna.co.jp\/ILSoft2\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.antenna.co.jp\/ILSoft2\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.antenna.co.jp\/ILSoft2\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.antenna.co.jp\/ILSoft2\/wp-json\/wp\/v2\/comments?post=9972"}],"version-history":[{"count":0,"href":"https:\/\/blog.antenna.co.jp\/ILSoft2\/wp-json\/wp\/v2\/posts\/9972\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.antenna.co.jp\/ILSoft2\/wp-json\/wp\/v2\/media?parent=9972"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.antenna.co.jp\/ILSoft2\/wp-json\/wp\/v2\/categories?post=9972"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.antenna.co.jp\/ILSoft2\/wp-json\/wp\/v2\/tags?post=9972"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}