<?xml version="1.0" encoding="UTF-8"?>
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="createBorderFont">
    <refnamediv>
        <refname>createBorderFont</refname>
        <refpurpose>Create a font for an uicontrol border.</refpurpose>
    </refnamediv>
    <refsynopsisdiv>
        <title>Syntax</title>
        <synopsis>
        createBorderFont(fontname, fontsize)
        createBorderFont(fontname, fontsize, fontweight)
        createBorderFont(fontname, fontsize, fontweight, fontangle)
        </synopsis>
    </refsynopsisdiv>
    <refsection>
        <title>Arguments</title>
        <variablelist>
            <varlistentry>
                <term>fontname</term>
                <listitem>
                    <para>String</para>
                    <para>This argument sets the name of the font. This name must be valid according to available fonts.</para>
                    <para>When <literal>fontname</literal> is equal to <literal>""</literal>, the font used will be the Look and Feel default one.</para>
                </listitem>
            </varlistentry>
            <varlistentry>
                <term>fontsize</term>
                <listitem>
                    <para>Real scalar</para>
                    <para>This argument sets the size of the font in points.</para>
                    <para>When <literal>fontsize</literal> is equal to <literal>0</literal>, the font size used will be the Look and Feel default one.</para>
                </listitem>
            </varlistentry>
            <varlistentry>
                <term>fontweight</term>
                <listitem>
                    <para>{"normal"} | "bold"</para>
                    <para>This argument sets the weight of the font.</para>
                    <para>When <literal>fontweight</literal> is not given, the font weight used will be the Look and Feel default one.</para>
                </listitem>
            </varlistentry>
            <varlistentry>
                <term>fontangle</term>
                <listitem>
                    <para>{"normal"} | "italic"</para>
                    <para>This argument sets the slant of the font.</para>
                    <para>When <literal>fontangle</literal> is not given, the font angle used will be the Look and Feel default one.</para>
                </listitem>
            </varlistentry>
        </variablelist>
    </refsection>
    <refsection>
        <title>Description</title>
        <para>
        This function creates a "Border Font" to customize borders in <literal>frame</literal> uicontrols. See <link linkend="createBorder">createBorder</link> and related pages for more details.
        </para>
    </refsection>
    <refsection>
        <title>History</title>
        <revhistory>
            <revision>
                <revnumber>5.5.0</revnumber>
                <revremark>
                    Function <function>createBorderFont</function> introduced.
                </revremark>
            </revision>
        </revhistory>
    </refsection>
</refentry>
