13.07.2013 Views

Hagen - Pragma ADE

Hagen - Pragma ADE

Hagen - Pragma ADE

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

mathematics = {<br />

dimensions = {<br />

default = {<br />

[0x00B1] = { -- ±<br />

height = 500,<br />

depth = 0,<br />

},<br />

[0x2213] = { -- ∓<br />

height = 500,<br />

depth = 0,<br />

},<br />

},<br />

},<br />

}<br />

This will give these two characters a different height and depth. However, this will not<br />

have much effect in rendering (much larger dimensions might have).<br />

mathematics = {<br />

dimensions = {<br />

default = {<br />

[0x00B1] = { -- ±<br />

yoffset = 100,<br />

},<br />

[0x2213] = { -- ∓<br />

yoffset = -100,<br />

},<br />

},<br />

},<br />

}<br />

This will raise and lower the glyphs in their bounding boxes and give them an appearance<br />

more close to their ancestors. But defined this way, they are always applied and that<br />

might not be what we want. So, we can do this:<br />

mathematics = {<br />

dimensions = {<br />

signs = {<br />

[0x00B1] = { -- ±<br />

yoffset = 100,<br />

},<br />

[0x2213] = { -- ∓<br />

yoffset = -100,<br />

},<br />

},<br />

},<br />

95<br />

Features

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!