File: com.github.FontManager.FontViewer.gschema.xml

package info (click to toggle)
font-manager 0.9.4-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 17,680 kB
  • sloc: ansic: 13,202; perl: 684; xml: 494; python: 321; makefile: 123
file content (154 lines) | stat: -rw-r--r-- 6,094 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
<?xml version="1.0" encoding="UTF-8"?>

<!--
/* Copyright (C) 2009-2025 Jerry Casiano
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.
 *
 * If not, see <http://www.gnu.org/licenses/gpl-3.0.txt>.
*/
-->

<schemalist>

    <enum id="com.github.FontManager.FontViewer.Waterfall.PredefinedSize">
        <value nick="48 Points Linear" value="0" />
        <value nick="72 Points 1.1 Ratio" value="1" />
        <value nick="96 Points Linear" value="2" />
        <value nick="96 Points 1.1 Ratio" value="3" />
        <value nick="120 Points 1.2 Ratio" value="4" />
        <value nick="144 Points 1.3 Ratio" value="5" />
        <value nick="192 Points 1.4 Ratio" value="6" />
        <value nick="Custom" value="7" />
    </enum>

    <schema id="com.github.FontManager.FontViewer" path="/com/github/FontManager/FontViewer/">

        <key name='window-size' type='(ii)'>
            <summary>Window size</summary>
            <description>Width and height of the main window.</description>
            <default>(675, 500)</default>
        </key>

        <key name="is-maximized" type="b">
            <default>false</default>
            <summary>Window state</summary>
            <description>Whether window is maximized</description>
        </key>

        <key name="prefer-dark-theme" type="b">
            <default>false</default>
            <summary>Use dark theme variant if available</summary>
            <description>Whether the application prefers to use a dark theme</description>
        </key>

        <key name="use-adwaita-stylesheet" type="b">
            <default>true</default>
            <summary>Whether to use the Adwaita stylesheet when available</summary>
            <description>true to use the Adwaita stylesheet</description>
        </key>

        <key name="preview-foreground-color" type="s">
            <summary>Font preview foreground color</summary>
            <description>Color to use for foreground (text color) in RGB format.</description>
            <default>"rgb(0,0,0)"</default>
        </key>

        <key name="preview-background-color" type="s">
            <summary>Font preview background color</summary>
            <description>Color to use for background in RGB format</description>
            <default>"rgb(255,255,255)"</default>
        </key>

        <key name="preview-font-size" type="d">
            <range min="6.0" max="96.0"/>
            <summary>Preview font size</summary>
            <description>Size point to use in the preview area.</description>
            <default>10.0</default>
        </key>

        <key name="preview-mode" enum="com.github.FontManager.FontManager.PreviewPageMode">
            <summary>Preview Mode</summary>
            <description>Possible modes are Preview, Waterfall and Lorem Ipsum.</description>
            <default>"waterfall"</default>
        </key>

        <key name="preview-text" type="s">
            <summary>Preview text</summary>
            <description>Last preview text used</description>
            <default>"    The quick brown fox jumps over the lazy dog.

    ABCDEFGHIJKLMNOPQRSTUVWXYZ
    abcdefghijklmnopqrstuvwxyz
    1234567890.:,;(*!?')

            "</default>
        </key>

        <key name="preview-page" type="i">
            <summary>Selected preview page</summary>
            <description>Last selected preview page</description>
            <default>0</default>
        </key>

        <key name="charmap-font-size" type="d">
            <range min="6.0" max="96.0"/>
            <summary>Character Map font size</summary>
            <description>Size point to use in Character Map Mode.</description>
            <default>16.0</default>
        </key>

        <key name="waterfall-line-spacing" type="i">
            <summary>Waterfall preview line spacing</summary>
            <description>Waterfall preview line spacing</description>
            <default>0</default>
        </key>

        <key name="min-waterfall-size" type="d">
            <range min="6.0" max="48.0"/>
            <summary>Minimum waterfall preview size</summary>
            <description>Minimum size point to render in Waterfall mode.</description>
            <default>8.0</default>
        </key>

        <key name="max-waterfall-size" type="d">
            <range min="6.0" max="192.0"/>
            <summary>Maximum waterfall preview size</summary>
            <description>Maximum size point to render in Waterfall mode.</description>
            <default>48.0</default>
        </key>

        <key name="waterfall-size-ratio" type="d">
            <range min="1.0" max="24.0"/>
            <summary>Waterfall point size common ratio</summary>
            <description>Waterfall point size common ratio.</description>
            <default>1.0</default>
        </key>

        <key name="predefined-waterfall-size" enum="com.github.FontManager.FontViewer.Waterfall.PredefinedSize">
            <summary>Waterfall Preview Predefined Size Setting</summary>
            <description>Waterfall Preview Predefined Size Setting</description>
            <default>"48 Points Linear"</default>
        </key>

        <!-- Default to false since enabling this causes RTL languages to be detected as LTR -->
        <key name="waterfall-show-line-size" type="b">
            <default>false</default>
            <summary>Whether to display line size in Waterfall preview</summary>
            <description>true to show line sizes in Waterfall preview</description>
        </key>

    </schema>

</schemalist>