Typesetting/Font Size

From J Wiki
Jump to navigation Jump to search

Wm yes check.png

The above script shows how font size in Linux can be adjusted by 4%3 to match other platforms.

Linux Fonts

The screenshot below shows a perfect match between Windows Java and Linux, after Linux fonts were adjusted at 4%3.

Font lin-win3.png

In order to obtain font corresponding to Arial 10pt you need to specify Arial 13pt. Web browsers maintain the ratio between CSS values of pixels and points.

Font lin-win.png

Note: however Font Selection tool matched J display.

Mac Fonts

This issue was resolved in j601ubeta

Now fonts on Mac display correctly (except Font Selection tool).

Font mac-win.png

Note: Font Selection tool displays font incorrectly.

See Also

  • /Java 6 - different Java adjustment for J2SE 6.0