SVG仕様の実装状況

AH Formatter V6.6 は、W3Cによる Scalable Vector Graphics (SVG) 1.1 を独自開発したエンジンにより描画します。そのため、PDF中へのイメージを高い解像度で描画することが可能です。 SVGの利用方法については、グラフィクスを参照してください。

以下に、SVGの各要素の実装状況を示します。基本的な描画要素を中心に実装されています。

注意: SVG出力の実装状況ではありません。
要素 属性 実装状況 備考
5.1 <svg> ○ xmlns="http://www.w3.org/2000/svg"
version × FO や HTML などの上位の XML 中で SVG が参照される場合、上位の XML で指定されている以下が引き継がれます。
  • font-family
  • font-size
  • font-weight
  • font-style
x ○
y ○
width ○
height ○
viewBox ○
preserveAspectRatio ○
zoomAndPan ×
baseProfile ×
contentScriptType ×
contentStyleType ○
class ○
style ○
Core Attributes
Conditional Processing Attributes
Presentation Attributes
5.2 <g> ○
class ○
style ○
transform ○
Core Attributes
Conditional Processing Attributes
Presentation Attributes
5.3 <defs> ○
class ○
style ○
transform ○
Core Attributes
Conditional Processing Attributes
Presentation Attributes
5.4 <desc> ○ 無視されます。
class ○
style ○
Core Attributes
5.4 <title> ○ 無視されます。
class ○
style ○
Core Attributes
5.5 <symbol> ○
viewBox ○
preserveAspectRatio ○
class ○
style ○
Core Attributes
Presentation Attributes
5.6 <use> ○
x ○
y ○
width ○
height ○
class ○
style ○
transform ○
xlink:href ○
Core Attributes
Conditional Processing Attributes
Presentation Attributes
5.7 <image> ○
x ○ preserveAspectRatio の defer は無視されます。
y ○
width ○
height ○
preserveAspectRatio ○
class ○
style ○
transform ○
xlink:href ○
Core Attributes
Conditional Processing Attributes
Presentation Attributes
5.8.2 <switch> △
class ○ requiredFeatures, requiredExtensions 属性を持つ子要素は無視されます。
systemLanguage が実行環境の言語と一致するか、systemLanguage を持たない最初の子要素が有効です。
systemLanguage が XSL-FO の xml:lang および language 属性と一致する場合は、実行環境の言語に優先して有効です。
style ○
transform ○
Core Attributes
Conditional Processing Attributes
Presentation Attributes
6.10 <style> ○
type ○ type="text/css" のみに対応しています。
media ×
title ×
Core Attributes
8.2 <path> ○
d ○
pathLength ○
class ○
style ○
transform ○
Core Attributes
Conditional Processing Attributes
Presentation Attributes
9.2 <rect> ○
x ○
y ○
width ○
height ○
rx ○
ry ○
class ○
style ○
transform ○
Core Attributes
Conditional Processing Attributes
Presentation Attributes
9.3 <circle> ○
cx ○
cy ○
r ○
class ○
style ○
transform ○
Core Attributes
Conditional Processing Attributes
Presentation Attributes
9.4 <ellipse> ○
cx ○
cy ○
rx ○
ry ○
class ○
style ○
transform ○
Core Attributes
Conditional Processing Attributes
Presentation Attributes
9.5 <line> ○
x1 ○
y1 ○
x2 ○
y2 ○
class ○
style ○
transform ○
Core Attributes
Conditional Processing Attributes
Presentation Attributes
9.6 <polyline> ○
points ○
class ○
style ○
transform ○
Core Attributes
Conditional Processing Attributes
Presentation Attributes
9.7 <polygon> ○
points ○
class ○
style ○
transform ○
Core Attributes
Conditional Processing Attributes
Presentation Attributes
10.4 <text> ○
x ○
y ○
dx ○
dy ○
rotate ○
textLength ○
lengthAdjust ×
class ○
style ○
transform ○
Core Attributes
Conditional Processing Attributes
Presentation Attributes
10.5 <tspan> ○
x ○
y ○
dx ○
dy ○
rotate ○
textLength ○
lengthAdjust ×
class ○
style ○
Core Attributes
Conditional Processing Attributes
Presentation Attributes
10.6 <tref> ○
xlink:href ○
class ○
style ○
Core Attributes
Conditional Processing Attributes
Presentation Attributes
10.13.2 <textPath> ×
10.14 <altGlyph> ×
10.14 <altGlyphDef> ×
10.14 <altGlyphItem> ×
10.14 <glyphRef> ×
11.6.2 <marker> ○
markerUnits ○
refX ○
refY ○
markerWidth ○
markerHeight ○
orient ○
viewBox ○
preserveAspectRatio ○
class ○
style ○
Core Attributes
Presentation Attributes
12.3.3 <color-profile> ×
13.2.2 <linearGradient> ○
gradientUnits ○
gradientTransform ○
x1 ○
y1 ○
x2 ○
y2 ○
spreadMethod ○
xlink:href ○
class ○
style ○
Core Attributes
Presentation Attributes
13.2.3 <radialGradient> ○
gradientUnits ○
gradientTransform ○
cx ○
cy ○
r ○
fx ○
fy ○
spreadMethod ○
xlink:href ○
class ○
style ○
Core Attributes
Presentation Attributes
13.2.4 <stop> ○
offset ○
class ○
style ○
Core Attributes
Presentation Attributes
13.3.3 <pattern> ○
patternUnits ○
patternContentUnits ○
patternTransform ○
x ○
y ○
width ○
height ○
viewBox ○
preserveAspectRatio ○
xlink:href ○
class ○
style ○
Core Attributes
Conditional Processing Attributes
Presentation Attributes
14.3.5 <clipPath> ○
clipPathUnits ○
class ○
style ○
transform ○
Core Attributes
Conditional Processing Attributes
Presentation Attributes
14.4 <mask> ×
15.3 <filter> ×
15.8.2 <feDistantLight> ×
15.8.3 <fePointLight> ×
15.8.4 <feSpotLight> ×
15.9 <feBlend> ×
15.10 <feColorMatrix> ×
15.11 <feComponentTransfer> ×
15.11 <feFuncR> ×
15.11 <feFuncG> ×
15.11 <feFuncB> ×
15.11 <feFuncA> ×
15.12 <feComposite> ×
15.13 <feConvolveMatrix> ×
15.14 <feDiffuseLighting> ×
15.15 <feDisplacementMap> ×
15.16 <feFlood> ×
15.17 <feGaussianBlur> ×
15.18 <feImage> ×
15.19 <feMerge> ×
15.19 <feMergeNote> ×
15.20 <feMorphology> ×
15.21 <feOffset> ×
15.22 <feSpecularLighting> ×
15.23 <feTile> ×
15.24 <feTurbulence> ×
16.8.3 <cursor> ×
17.1 <a> △
target × xlink:href には、リンクの作成にある #nameddest=Chapter6 などの書式も指定することができます。ホットスポットは矩形となります。GUI では機能しません。
xlink:href ○
xlink:show ×
xlink:actuate ×
class ○
style ○
transform ○
Core Attributes
Conditional Processing Attributes
Presentation Attributes
17.3.3 <view> ×
viewBox ×
preserveAspectRatio ×
zoomAndPan ×
viewTarget ×
Core Attributes
18.2 <script> ×
19.2.10 <animate> ×
19.2.11 <set> ×
19.2.12 <animateMotion> ×
19.2.12 <mpath> ×
19.2.13 <animateColor> ×
19.2.14 <animateTransform> ×
20.3 <font> ×
20.4 <glyph> ×
20.5 <missing-glyph> ×
20.7 <hkern> ×
20.7 <vkern> ×
20.8.3 <font-face> ×
20.8.3 <font-face-src> ×
20.8.3 <font-face-uri> ×
20.8.3 <font-face-format> ×
20.8.3 <font-face-name> ×
20.8.3 <definition-src> ×
21.2 <metadata> ×
23.3 <foreignObject> ×
Core Attributes
id ○
xml:base ×
xml:lang ×
xml:space ○
Conditional Processing Attributes
requiredFeatures ×
requiredExtensions ×
systemLanguage ○
Presentation Attributes
writing-mode ○
glyph-orientation-vertical ×
glyph-orientation-horizontal ×
direction ○
unicode-bidi ○
text-anchor ○
dominant-baseline ×
alignment-baseline ×
baseline-shift ×
font-family ○
font-style ○
font-variant ○
font-weight ○
font-stretch ○
font-size ○
font-size-adjust ○
kerning ×
letter-spacing ○
word-spacing ○
text-decoration ○
fill ○
fill-rule ○
fill-opacity ○
stroke ○
stroke-width ○
stroke-linecap ○
stroke-linejoin ○
stroke-miterlimit ○
stroke-dasharray ○
stroke-dashoffset ○
stroke-opacity ○
display ○
visibility ○
marker-start ○
marker-end ○
marker-mid ○
color-interpolation ×
color-interpolation-filters ×
color-rendering ×
shape-rendering ×
text-rendering ×
image-rendering ×
color ○
color-profile ×
stop-color ○
stop-opacity ○
overflow ○
clip ○
clip-path ○
clip-rule ○
opacity ○

上の表中にない要素、属性には対応していません。

gzip圧縮されたSVGにも対応しています。

制限事項