# bytes attribute

Type: | 1 or 2
Inherited: | no
Used By: | link
Default: | 1

When embedding a TrueType font, the "bytes" parameter can be used to set the number of bytes used for each glyph. For fonts used only for western european languages, the default value of "1" is fine, but all other languages should use "2".

Links in a two byte font for use with Japanese text.

    <link name="myfont" type="font" subtype="OpenType" src="msgothic.ttf" bytes="2"/>