<class name="QFontDatabase" doc="/**
&lt;p&gt;The &lt;a href=&quot;QFontDatabase.html#QFontDatabase()&quot;&gt;&lt;tt&gt;QFontDatabase&lt;/tt&gt;&lt;/a&gt; class provides information about the fonts available in the underlying window system.&lt;/p&gt;
&lt;p&gt;The most common uses of this class are to query the database for the list of font &lt;a href=&quot;QFontDatabase.html#families(com.trolltech.qt.gui.QFontDatabase.WritingSystem)&quot;&gt;&lt;tt&gt;families&lt;/tt&gt;&lt;/a&gt; and for the &lt;a href=&quot;QFontDatabase.html#pointSizes(java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;pointSizes&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QFontDatabase.html#styles(java.lang.String)&quot;&gt;&lt;tt&gt;styles&lt;/tt&gt;&lt;/a&gt; that are available for each family. An alternative to &lt;a href=&quot;QFontDatabase.html#pointSizes(java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;pointSizes&lt;/tt&gt;&lt;/a&gt; is &lt;a href=&quot;QFontDatabase.html#smoothSizes(java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;smoothSizes&lt;/tt&gt;&lt;/a&gt; which returns the sizes at which a given family and style will look attractive.&lt;/p&gt;
&lt;p&gt;If the font family is available from two or more foundries the foundry name is included in the family name, e.g&amp;#x2e; &amp;quot;Helvetica [Adobe]&amp;quot; and &amp;quot;Helvetica [Cronyx]&amp;quot;. When you specify a family you can either use the old hyphenated Qt 2.x &amp;quot;foundry-family&amp;quot; format, e.g&amp;#x2e; &amp;quot;Cronyx-Helvetica&amp;quot;, or the new bracketed Qt 3.x &amp;quot;family [foundry]&amp;quot; format e.g&amp;#x2e; &amp;quot;Helvetica [Cronyx]&amp;quot;. If the family has a foundry it is always returned, e.g&amp;#x2e; by &lt;a href=&quot;QFontDatabase.html#families(com.trolltech.qt.gui.QFontDatabase.WritingSystem)&quot;&gt;&lt;tt&gt;families&lt;/tt&gt;&lt;/a&gt;, using the bracketed format.&lt;/p&gt;
&lt;p&gt;The &lt;a href=&quot;QFontDatabase.html#font(java.lang.String, java.lang.String, int)&quot;&gt;&lt;tt&gt;font&lt;/tt&gt;&lt;/a&gt; function returns a &lt;a href=&quot;QFont.html&quot;&gt;&lt;tt&gt;QFont&lt;/tt&gt;&lt;/a&gt; given a family, style and point size.&lt;/p&gt;
&lt;p&gt;A family and style combination can be checked to see if it is &lt;a href=&quot;QFontDatabase.html#italic(java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;italic&lt;/tt&gt;&lt;/a&gt; or &lt;a href=&quot;QFontDatabase.html#bold(java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;bold&lt;/tt&gt;&lt;/a&gt;, and to retrieve its &lt;a href=&quot;QFontDatabase.html#weight(java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;weight&lt;/tt&gt;&lt;/a&gt;. Similarly we can call &lt;a href=&quot;QFontDatabase.html#isBitmapScalable(java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;isBitmapScalable&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QFontDatabase.html#isSmoothlyScalable(java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;isSmoothlyScalable&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QFontDatabase.html#isScalable(java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;isScalable&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QFontDatabase.html#isFixedPitch(java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;isFixedPitch&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Use the &lt;a href=&quot;QFontDatabase.html#styleString(com.trolltech.qt.gui.QFontInfo)&quot;&gt;&lt;tt&gt;styleString&lt;/tt&gt;&lt;/a&gt; to obtain a text version of a style.&lt;/p&gt;
&lt;p&gt;The &lt;a href=&quot;QFontDatabase.html#QFontDatabase()&quot;&gt;&lt;tt&gt;QFontDatabase&lt;/tt&gt;&lt;/a&gt; class also supports some static functions, for example, &lt;a href=&quot;QFontDatabase.html#standardSizes()&quot;&gt;&lt;tt&gt;standardSizes&lt;/tt&gt;&lt;/a&gt;. You can retrieve the description of a writing system using &lt;a href=&quot;QFontDatabase.html#writingSystemName(com.trolltech.qt.gui.QFontDatabase.WritingSystem)&quot;&gt;&lt;tt&gt;writingSystemName&lt;/tt&gt;&lt;/a&gt;, and a sample of characters in a writing system with &lt;a href=&quot;QFontDatabase.html#writingSystemSample(com.trolltech.qt.gui.QFontDatabase.WritingSystem)&quot;&gt;&lt;tt&gt;writingSystemSample&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Example:&lt;/p&gt;
&lt;pre&gt;        QFontDatabase database;
        QTreeWidget fontTree;
        fontTree.setColumnCount(2);
        fontTree.setHeaderLabels(QStringList() &amp;lt;&amp;lt; &amp;quot;Font&amp;quot; &amp;lt;&amp;lt; &amp;quot;Smooth Sizes&amp;quot;);

        foreach (QString family, database.families()) {
            QTreeWidgetItem *familyItem = new QTreeWidgetItem(&amp;amp;fontTree);
            familyItem-&amp;gt;setText(0, family);

            foreach (QString style, database.styles(family)) {
                QTreeWidgetItem *styleItem = new QTreeWidgetItem(familyItem);
                styleItem-&amp;gt;setText(0, style);

                QString sizes;
                foreach (int points, database.smoothSizes(family, style))
                    sizes += QString::number(points) + &amp;quot; &amp;quot;;

                styleItem-&amp;gt;setText(1, sizes.trimmed());
            }
        }&lt;/pre&gt;
&lt;p&gt;This example gets the list of font families, the list of styles for each family, and the point sizes that are available for each combination of family and style, displaying this information in a tree view.&lt;/p&gt;

@see &lt;a href=&quot;QFont.html&quot;&gt;&lt;tt&gt;QFont&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QFontInfo.html&quot;&gt;&lt;tt&gt;QFontInfo&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QFontMetrics.html&quot;&gt;&lt;tt&gt;QFontMetrics&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QFontComboBox.html&quot;&gt;&lt;tt&gt;QFontComboBox&lt;/tt&gt;&lt;/a&gt;
@see Character Map Example&lt;/tt&gt; */">
    <method name="public QFontDatabase()" doc="/**
&lt;p&gt;Creates a font database object.&lt;/p&gt;
 */"/>
    <method name="public final boolean bold(java.lang.String family, java.lang.String style)" doc="/**
&lt;p&gt;Returns true if the font that has family &lt;tt&gt;family&lt;/tt&gt; and style &lt;tt&gt;style&lt;/tt&gt; is bold; otherwise returns false.&lt;/p&gt;

@see &lt;a href=&quot;QFontDatabase.html#italic(java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;italic&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QFontDatabase.html#weight(java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;weight&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final java.util.List&lt;java.lang.String&gt; families(com.trolltech.qt.gui.QFontDatabase.WritingSystem writingSystem)" doc="/**
&lt;p&gt;Returns a sorted list of the available font families which support the &lt;tt&gt;writingSystem&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;If a family exists in several foundries, the returned name for that font is in the form &amp;quot;family [foundry]&amp;quot;. Examples: &amp;quot;Times [Adobe]&amp;quot;, &amp;quot;Times [Cronyx]&amp;quot;, &amp;quot;Palatino&amp;quot;.&lt;/p&gt;

@see &lt;a href=&quot;QFontDatabase.html#writingSystems()&quot;&gt;&lt;tt&gt;writingSystems&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final java.util.List&lt;java.lang.String&gt; families()" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QFontDatabase.html#families(com.trolltech.qt.gui.QFontDatabase.WritingSystem)&quot;&gt;families&lt;/tt&gt;&lt;/a&gt;(Any). */"/>
    <method name="public final com.trolltech.qt.gui.QFont font(java.lang.String family, java.lang.String style, int pointSize)" doc="/**
&lt;p&gt;Returns a &lt;a href=&quot;QFont.html&quot;&gt;&lt;tt&gt;QFont&lt;/tt&gt;&lt;/a&gt; object that has family &lt;tt&gt;family&lt;/tt&gt;, style &lt;tt&gt;style&lt;/tt&gt; and point size &lt;tt&gt;pointSize&lt;/tt&gt;. If no matching font could be created, a &lt;a href=&quot;QFont.html&quot;&gt;&lt;tt&gt;QFont&lt;/tt&gt;&lt;/a&gt; object that uses the application's default font is returned.&lt;/p&gt;
 */"/>
    <method name="public final boolean isBitmapScalable(java.lang.String family, java.lang.String style)" doc="/**
&lt;p&gt;Returns true if the font that has family &lt;tt&gt;family&lt;/tt&gt; and style &lt;tt&gt;style&lt;/tt&gt; is a scalable bitmap font; otherwise returns false. Scaling a bitmap font usually produces an unattractive hardly readable result, because the pixels of the font are scaled. If you need to scale a bitmap font it is better to scale it to one of the fixed sizes returned by &lt;a href=&quot;QFontDatabase.html#smoothSizes(java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;smoothSizes&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QFontDatabase.html#isScalable(java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;isScalable&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QFontDatabase.html#isSmoothlyScalable(java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;isSmoothlyScalable&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean isBitmapScalable(java.lang.String family)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QFontDatabase.html#isBitmapScalable(java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;isBitmapScalable&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;family&lt;/tt&gt;, QString()). */"/>
    <method name="public final boolean isFixedPitch(java.lang.String family, java.lang.String style)" doc="/**
&lt;p&gt;Returns true if the font that has family &lt;tt&gt;family&lt;/tt&gt; and style &lt;tt&gt;style&lt;/tt&gt; is fixed pitch; otherwise returns false.&lt;/p&gt;
 */"/>
    <method name="public final boolean isFixedPitch(java.lang.String family)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QFontDatabase.html#isFixedPitch(java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;isFixedPitch&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;family&lt;/tt&gt;, QString()). */"/>
    <method name="public final boolean isScalable(java.lang.String family, java.lang.String style)" doc="/**
&lt;p&gt;Returns true if the font that has family &lt;tt&gt;family&lt;/tt&gt; and style &lt;tt&gt;style&lt;/tt&gt; is scalable; otherwise returns false.&lt;/p&gt;

@see &lt;a href=&quot;QFontDatabase.html#isBitmapScalable(java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;isBitmapScalable&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QFontDatabase.html#isSmoothlyScalable(java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;isSmoothlyScalable&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean isScalable(java.lang.String family)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QFontDatabase.html#isScalable(java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;isScalable&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;family&lt;/tt&gt;, QString()). */"/>
    <method name="public final boolean isSmoothlyScalable(java.lang.String family, java.lang.String style)" doc="/**
&lt;p&gt;Returns true if the font that has family &lt;tt&gt;family&lt;/tt&gt; and style &lt;tt&gt;style&lt;/tt&gt; is smoothly scalable; otherwise returns false. If this function returns true, it's safe to scale this font to any size, and the result will always look attractive.&lt;/p&gt;

@see &lt;a href=&quot;QFontDatabase.html#isScalable(java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;isScalable&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QFontDatabase.html#isBitmapScalable(java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;isBitmapScalable&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean isSmoothlyScalable(java.lang.String family)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QFontDatabase.html#isSmoothlyScalable(java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;isSmoothlyScalable&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;family&lt;/tt&gt;, QString()). */"/>
    <method name="public final boolean italic(java.lang.String family, java.lang.String style)" doc="/**
&lt;p&gt;Returns true if the font that has family &lt;tt&gt;family&lt;/tt&gt; and style &lt;tt&gt;style&lt;/tt&gt; is italic; otherwise returns false.&lt;/p&gt;

@see &lt;a href=&quot;QFontDatabase.html#weight(java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;weight&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QFontDatabase.html#bold(java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;bold&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final java.util.List&lt;java.lang.Integer&gt; pointSizes(java.lang.String family, java.lang.String style)" doc="/**
&lt;p&gt;Returns a list of the point sizes available for the font that has family &lt;tt&gt;family&lt;/tt&gt; and style &lt;tt&gt;style&lt;/tt&gt;. The list may be empty.&lt;/p&gt;

@see &lt;a href=&quot;QFontDatabase.html#smoothSizes(java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;smoothSizes&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QFontDatabase.html#standardSizes()&quot;&gt;&lt;tt&gt;standardSizes&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final java.util.List&lt;java.lang.Integer&gt; pointSizes(java.lang.String family)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QFontDatabase.html#pointSizes(java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;pointSizes&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;family&lt;/tt&gt;, QString()). */"/>
    <method name="public final java.util.List&lt;java.lang.Integer&gt; smoothSizes(java.lang.String family, java.lang.String style)" doc="/**
&lt;p&gt;Returns the point sizes of a font that has family &lt;tt&gt;family&lt;/tt&gt; and style &lt;tt&gt;style&lt;/tt&gt; that will look attractive. The list may be empty. For non-scalable fonts and bitmap scalable fonts, this function is equivalent to &lt;a href=&quot;QFontDatabase.html#pointSizes(java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;pointSizes&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QFontDatabase.html#pointSizes(java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;pointSizes&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QFontDatabase.html#standardSizes()&quot;&gt;&lt;tt&gt;standardSizes&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final java.lang.String styleString(com.trolltech.qt.gui.QFont font)" doc="/**
&lt;p&gt;Returns a string that describes the style of the &lt;tt&gt;font&lt;/tt&gt;. For example, &amp;quot;Bold Italic&amp;quot;, &amp;quot;Bold&amp;quot;, &amp;quot;Italic&amp;quot; or &amp;quot;Normal&amp;quot;. An empty string may be returned.&lt;/p&gt;
 */"/>
    <method name="public final java.lang.String styleString(com.trolltech.qt.gui.QFontInfo fontInfo)" doc="/**
&lt;p&gt;Returns a string that describes the style of the &lt;tt&gt;fontInfo&lt;/tt&gt;. For example, &amp;quot;Bold Italic&amp;quot;, &amp;quot;Bold&amp;quot;, &amp;quot;Italic&amp;quot; or &amp;quot;Normal&amp;quot;. An empty string may be returned.&lt;/p&gt;
 */"/>
    <method name="public final java.util.List&lt;java.lang.String&gt; styles(java.lang.String family)" doc="/**
&lt;p&gt;Returns a list of the styles available for the font family &lt;tt&gt;family&lt;/tt&gt;. Some example styles: &amp;quot;Light&amp;quot;, &amp;quot;Light Italic&amp;quot;, &amp;quot;Bold&amp;quot;, &amp;quot;Oblique&amp;quot;, &amp;quot;Demi&amp;quot;. The list may be empty.&lt;/p&gt;

@see &lt;a href=&quot;QFontDatabase.html#families(com.trolltech.qt.gui.QFontDatabase.WritingSystem)&quot;&gt;&lt;tt&gt;families&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int weight(java.lang.String family, java.lang.String style)" doc="/**
&lt;p&gt;Returns the weight of the font that has family &lt;tt&gt;family&lt;/tt&gt; and style &lt;tt&gt;style&lt;/tt&gt;. If there is no such family and style combination, returns -1.&lt;/p&gt;

@see &lt;a href=&quot;QFontDatabase.html#italic(java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;italic&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QFontDatabase.html#bold(java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;bold&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final java.util.List&lt;com.trolltech.qt.gui.QFontDatabase.WritingSystem&gt; writingSystems(java.lang.String family)" doc="/**
&lt;p&gt;Returns a sorted list of the writing systems supported by a given font &lt;tt&gt;family&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QFontDatabase.html#families(com.trolltech.qt.gui.QFontDatabase.WritingSystem)&quot;&gt;&lt;tt&gt;families&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final java.util.List&lt;com.trolltech.qt.gui.QFontDatabase.WritingSystem&gt; writingSystems()" doc="/**
&lt;p&gt;Returns a sorted list of the available writing systems. This is list generated from information about all installed fonts on the system.&lt;/p&gt;

@see &lt;a href=&quot;QFontDatabase.html#families(com.trolltech.qt.gui.QFontDatabase.WritingSystem)&quot;&gt;&lt;tt&gt;families&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public native static int addApplicationFont(java.lang.String fileName)" doc="/**
&lt;p&gt;Loads the font from the file specified by &lt;tt&gt;fileName&lt;/tt&gt; and makes it available to the application. An ID is returned that can be used to remove the font again with &lt;a href=&quot;QFontDatabase.html#removeApplicationFont(int)&quot;&gt;&lt;tt&gt;removeApplicationFont&lt;/tt&gt;&lt;/a&gt; or to retrieve the list of family names contained in the font.&lt;/p&gt;
&lt;p&gt;The function returns -1 if the font could not be loaded.&lt;/p&gt;
&lt;p&gt;Currently only TrueType fonts and TrueType font collections are supported.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Note:&lt;/b&gt; Adding application fonts on Unix/X11 platforms without fontconfig is currently not supported.&lt;/p&gt;

@see &lt;a href=&quot;QFontDatabase.html#addApplicationFontFromData(com.trolltech.qt.core.QByteArray)&quot;&gt;&lt;tt&gt;addApplicationFontFromData&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QFontDatabase.html#applicationFontFamilies(int)&quot;&gt;&lt;tt&gt;applicationFontFamilies&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QFontDatabase.html#removeApplicationFont(int)&quot;&gt;&lt;tt&gt;removeApplicationFont&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public static int addApplicationFontFromData(com.trolltech.qt.core.QByteArray fontData)" doc="/**
&lt;p&gt;Loads the font from binary data specified by &lt;tt&gt;fontData&lt;/tt&gt; and makes it available to the application. An ID is returned that can be used to remove the font again with &lt;a href=&quot;QFontDatabase.html#removeApplicationFont(int)&quot;&gt;&lt;tt&gt;removeApplicationFont&lt;/tt&gt;&lt;/a&gt; or to retrieve the list of family names contained in the font.&lt;/p&gt;
&lt;p&gt;The function returns -1 if the font could not be loaded.&lt;/p&gt;
&lt;p&gt;Currently only TrueType fonts and TrueType font collections are supported.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Note:&lt;/b&gt; Adding application fonts on Unix/X11 platforms without fontconfig is currently not supported.&lt;/p&gt;

@see &lt;a href=&quot;QFontDatabase.html#addApplicationFont(java.lang.String)&quot;&gt;&lt;tt&gt;addApplicationFont&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QFontDatabase.html#applicationFontFamilies(int)&quot;&gt;&lt;tt&gt;applicationFontFamilies&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QFontDatabase.html#removeApplicationFont(int)&quot;&gt;&lt;tt&gt;removeApplicationFont&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public native static java.util.List&lt;java.lang.String&gt; applicationFontFamilies(int id)" doc="/**
&lt;p&gt;Returns a list of font families for the given application font identified by &lt;tt&gt;id&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QFontDatabase.html#addApplicationFont(java.lang.String)&quot;&gt;&lt;tt&gt;addApplicationFont&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QFontDatabase.html#addApplicationFontFromData(com.trolltech.qt.core.QByteArray)&quot;&gt;&lt;tt&gt;addApplicationFontFromData&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public native static boolean removeAllApplicationFonts()" doc="/**
&lt;p&gt;Removes all application-local fonts previously added using &lt;a href=&quot;QFontDatabase.html#addApplicationFont(java.lang.String)&quot;&gt;&lt;tt&gt;addApplicationFont&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QFontDatabase.html#addApplicationFontFromData(com.trolltech.qt.core.QByteArray)&quot;&gt;&lt;tt&gt;addApplicationFontFromData&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Returns true if unloading of the fonts succeeded; otherwise returns false.&lt;/p&gt;

@see &lt;a href=&quot;QFontDatabase.html#removeApplicationFont(int)&quot;&gt;&lt;tt&gt;removeApplicationFont&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QFontDatabase.html#addApplicationFont(java.lang.String)&quot;&gt;&lt;tt&gt;addApplicationFont&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QFontDatabase.html#addApplicationFontFromData(com.trolltech.qt.core.QByteArray)&quot;&gt;&lt;tt&gt;addApplicationFontFromData&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public native static boolean removeApplicationFont(int id)" doc="/**
&lt;p&gt;Removes the previously loaded application font identified by &lt;tt&gt;id&lt;/tt&gt;. Returns true if unloading of the font succeeded; otherwise returns false.&lt;/p&gt;

@see &lt;a href=&quot;QFontDatabase.html#removeAllApplicationFonts()&quot;&gt;&lt;tt&gt;removeAllApplicationFonts&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QFontDatabase.html#addApplicationFont(java.lang.String)&quot;&gt;&lt;tt&gt;addApplicationFont&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QFontDatabase.html#addApplicationFontFromData(com.trolltech.qt.core.QByteArray)&quot;&gt;&lt;tt&gt;addApplicationFontFromData&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public native static java.util.List&lt;java.lang.Integer&gt; standardSizes()" doc="/**
&lt;p&gt;Returns a list of standard font sizes.&lt;/p&gt;

@see &lt;a href=&quot;QFontDatabase.html#smoothSizes(java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;smoothSizes&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QFontDatabase.html#pointSizes(java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;pointSizes&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public static java.lang.String writingSystemName(com.trolltech.qt.gui.QFontDatabase.WritingSystem writingSystem)" doc="/**
&lt;p&gt;Returns the names the &lt;tt&gt;writingSystem&lt;/tt&gt; (e.g&amp;#x2e; for displaying to the user in a dialog).&lt;/p&gt;
 */"/>
    <method name="public static java.lang.String writingSystemSample(com.trolltech.qt.gui.QFontDatabase.WritingSystem writingSystem)" doc="/**
&lt;p&gt;Returns a string with sample characters from &lt;tt&gt;writingSystem&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <enum name="WritingSystem">
        <enum-value name="Any" doc="/**
Internal. */"/>
        <enum-value name="Latin" doc="/**
Internal. */"/>
        <enum-value name="Greek" doc="/**
Internal. */"/>
        <enum-value name="Cyrillic" doc="/**
Internal. */"/>
        <enum-value name="Armenian" doc="/**
Internal. */"/>
        <enum-value name="Hebrew" doc="/**
Internal. */"/>
        <enum-value name="Arabic" doc="/**
Internal. */"/>
        <enum-value name="Syriac" doc="/**
Internal. */"/>
        <enum-value name="Thaana" doc="/**
Internal. */"/>
        <enum-value name="Devanagari" doc="/**
Internal. */"/>
        <enum-value name="Bengali" doc="/**
Internal. */"/>
        <enum-value name="Gurmukhi" doc="/**
Internal. */"/>
        <enum-value name="Gujarati" doc="/**
Internal. */"/>
        <enum-value name="Oriya" doc="/**
Internal. */"/>
        <enum-value name="Tamil" doc="/**
Internal. */"/>
        <enum-value name="Telugu" doc="/**
Internal. */"/>
        <enum-value name="Kannada" doc="/**
Internal. */"/>
        <enum-value name="Malayalam" doc="/**
Internal. */"/>
        <enum-value name="Sinhala" doc="/**
Internal. */"/>
        <enum-value name="Thai" doc="/**
Internal. */"/>
        <enum-value name="Lao" doc="/**
Internal. */"/>
        <enum-value name="Tibetan" doc="/**
Internal. */"/>
        <enum-value name="Myanmar" doc="/**
Internal. */"/>
        <enum-value name="Georgian" doc="/**
Internal. */"/>
        <enum-value name="Khmer" doc="/**
Internal. */"/>
        <enum-value name="SimplifiedChinese" doc="/**
Internal. */"/>
        <enum-value name="TraditionalChinese" doc="/**
Internal. */"/>
        <enum-value name="Japanese" doc="/**
Internal. */"/>
        <enum-value name="Korean" doc="/**
Internal. */"/>
        <enum-value name="Vietnamese" doc="/**
Internal. */"/>
        <enum-value name="Symbol" doc="/**
Internal. */"/>
        <enum-value name="Other" doc="/**
&lt;p&gt;(the same as Symbol)&lt;/p&gt;
 */"/>
        <enum-value name="Ogham" doc="/**
Internal. */"/>
        <enum-value name="Runic" doc="/**
Internal. */"/>
        <enum-value name="WritingSystemsCount" doc="/**
Internal. */"/>
</enum>
</class>
