<?xml version="1.0" encoding="UTF-8"?>

<?context-directive job ctxfile x-setups.ctx ?>

<cd:interface xmlns:cd="http://www.pragma-ade.com/commands">

    <cd:command name="normalizetextwidth" level="system" category="fonts" file="typo-txt.mklx">
        <cd:arguments>
            <cd:resolve name="argument-font"/>
            <cd:resolve name="argument-dimension"/>
            <cd:resolve name="argument-text"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="normalizetextheight" level="system" category="fonts" file="typo-txt.mklx">
        <cd:arguments>
            <cd:resolve name="argument-font"/>
            <cd:resolve name="argument-dimension"/>
            <cd:resolve name="argument-text"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="normalizetextdepth" level="system" category="fonts" file="typo-txt.mklx">
        <cd:arguments>
            <cd:resolve name="argument-font"/>
            <cd:resolve name="argument-dimension"/>
            <cd:resolve name="argument-text"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="normalizetextline" level="system" category="fonts" file="typo-txt.mklx">
        <cd:arguments>
            <cd:resolve name="argument-font"/>
            <cd:resolve name="argument-dimension"/>
            <cd:resolve name="argument-text"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="normalizefontwidth" level="system" category="fonts" file="typo-txt.mklx">
        <cd:arguments>
            <cd:csname/>
            <cd:resolve name="argument-text"/>
            <cd:resolve name="argument-dimension"/>
            <cd:resolve name="argument-font"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="normalizefontheight" level="system" category="fonts" file="typo-txt.mklx">
        <cd:arguments>
            <cd:csname/>
            <cd:resolve name="argument-text"/>
            <cd:resolve name="argument-dimension"/>
            <cd:resolve name="argument-font"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="normalizefontdepth" level="system" category="fonts" file="typo-txt.mklx">
        <cd:arguments>
            <cd:csname/>
            <cd:resolve name="argument-text"/>
            <cd:resolve name="argument-dimension"/>
            <cd:resolve name="argument-font"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="normalizefontline" level="system" category="fonts" file="typo-txt.mklx">
        <cd:arguments>
            <cd:csname/>
            <cd:resolve name="argument-text"/>
            <cd:resolve name="argument-dimension"/>
            <cd:resolve name="argument-font"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="widthspanningtext" level="system" category="fonts" file="typo-txt.mklx">
        <cd:arguments>
            <cd:resolve name="argument-text"/>
            <cd:resolve name="argument-dimension"/>
            <cd:resolve name="argument-font"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="heightspanningtext" level="system" category="fonts" file="typo-txt.mklx">
        <cd:arguments>
            <cd:resolve name="argument-text"/>
            <cd:resolve name="argument-dimension"/>
            <cd:resolve name="argument-font"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="depthspanningtext" level="system" category="fonts" file="typo-txt.mklx">
        <cd:arguments>
            <cd:resolve name="argument-text"/>
            <cd:resolve name="argument-dimension"/>
            <cd:resolve name="argument-font"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="linespanningtext" level="system" category="fonts" file="typo-txt.mklx">
        <cd:arguments>
            <cd:resolve name="argument-text"/>
            <cd:resolve name="argument-dimension"/>
            <cd:resolve name="argument-font"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="normalizedfontsize" level="system" category="fonts" file="typo-txt.mklx"/>

    <cd:command name="NormalizeTextWidth" level="system" category="fonts" file="typo-txt.mklx">
        <cd:arguments>
            <cd:resolve name="argument-font"/>
            <cd:resolve name="argument-dimension"/>
            <cd:resolve name="argument-text"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="NormalizeTextHeight" level="system" category="fonts" file="typo-txt.mklx">
        <cd:arguments>
            <cd:resolve name="argument-font"/>
            <cd:resolve name="argument-dimension"/>
            <cd:resolve name="argument-text"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="NormalizeFontWidth" level="system" category="fonts" file="typo-txt.mklx">
        <cd:arguments>
            <cd:csname/>
            <cd:resolve name="argument-text"/>
            <cd:resolve name="argument-dimension"/>
            <cd:resolve name="argument-font"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="NormalizeFontHeight" level="system" category="fonts" file="typo-txt.mklx">
        <cd:arguments>
            <cd:csname/>
            <cd:resolve name="argument-text"/>
            <cd:resolve name="argument-dimension"/>
            <cd:resolve name="argument-font"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="WidthSpanningText" level="system" category="fonts" file="typo-txt.mklx">
        <cd:arguments>
            <cd:resolve name="argument-text"/>
            <cd:resolve name="argument-dimension"/>
            <cd:resolve name="argument-font"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="TheNormalizedFontSize" level="system" category="fonts" file="typo-txt.mklx"/>

    <cd:command name="nicelyfilledbox" type="environment" level="system" category="fonts" file="typo-txt.mklx">
        <cd:arguments>
            <cd:assignments list="yes" optional="yes">
                <cd:parameter name="width">
                    <cd:constant type="cd:dimension"/>
                </cd:parameter>
                <cd:parameter name="height">
                    <cd:constant type="cd:dimension"/>
                </cd:parameter>
                <cd:parameter name="offset">
                    <cd:constant type="cd:dimension"/>
                </cd:parameter>
                <cd:parameter name="strut">
                    <cd:constant type="yes" default="yes"/>
                    <cd:constant type="no"/>
                </cd:parameter>
            </cd:assignments>
        </cd:arguments>
    </cd:command>

</cd:interface>
