Jump to main content

# Appendix A: Font Scaling Adjustments Stylesheet Details

This section provides an example stylesheet.

    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0" xmlns:fs="http://www.wolterskluwerfs.com/Font-Scaling">
    <fs:adjustments xmlns:fs="http://www.wolterskluwerfs.com/Font-Scaling">
     <fs:adjustment font-family="Arial" size="8" regular="0" bold="0" italic="0"/>
     <fs:adjustment font-family="Arial" size="9" regular="0" bold="0" italic="0"/>
     <fs:adjustment font-family="Arial" size="10" regular="0" bold="0" italic="0"/>
     <fs:adjustment font-family="Arial" size="11" regular="0" bold="0" italic="0"/>
     <fs:adjustment font-family="Arial" size="12" regular="0" bold="0" italic="0"/>

     <fs:adjustment font-family="Arial Narrow" size="8" regular="0" bold="0" italic="0"/>
     <fs:adjustment font-family="Arial Narrow" size="9" regular="0" bold="0" italic="0"/>
     <fs:adjustment font-family="Arial Narrow" size="10" regular="0" bold="0" italic="0"/>
     <fs:adjustment font-family="Arial Narrow" size="11" regular="0" bold="0" italic="0"/>
     <fs:adjustment font-family="Arial Narrow" size="12" regular="0" bold="0" italic="0"/>

     <fs:adjustment font-family="Courier New" size="8" regular="2.0" bold="2.0" italic="2.0"/>
     <fs:adjustment font-family="Courier New" size="9" regular="2.0" bold="1.5" italic="2.0"/>
     <fs:adjustment font-family="Courier New" size="10" regular="2.5" bold="2.5" italic="2.5"/>
     <fs:adjustment font-family="Courier New" size="11" regular="2.0" bold="2.0" italic="2.5"/>
     <fs:adjustment font-family="Courier New" size="12" regular="2.5" bold="2.5" italic="2.5"/>

     <fs:adjustment font-family="Times New Roman" size="8" regular="1.0" bold="0.5" italic="1.0"/>
     <fs:adjustment font-family="Times New Roman" size="9" regular="1.0" bold="1.0" italic="0.5"/>
     <fs:adjustment font-family="Times New Roman" size="10" regular="1.0" bold="1.0" italic="1.0"/>
     <fs:adjustment font-family="Times New Roman" size="11" regular="1.0" bold="1.0" italic="1.0"/>
     <fs:adjustment font-family="Times New Roman" size="12" regular="1.0" bold="1.0" italic="0.5"/>
    </fs:adjustments>
    </xsl:stylesheet>