Debian Codegraph @

data/com.github.FontManager.FontViewer.gschema.xml

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <!--
4 /* Copyright (C) 2009-2025 Jerry Casiano
5 *
6 * This program is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program.
18 *
19 * If not, see <http://www.gnu.org/licenses/gpl-3.0.txt>.
20 */
21 -->
22
23 <schemalist>
24
25 <enum id="com.github.FontManager.FontViewer.Waterfall.PredefinedSize">
26 <value nick="48 Points Linear" value="0" />
27 <value nick="72 Points 1.1 Ratio" value="1" />
28 <value nick="96 Points Linear" value="2" />
29 <value nick="96 Points 1.1 Ratio" value="3" />
30 <value nick="120 Points 1.2 Ratio" value="4" />
31 <value nick="144 Points 1.3 Ratio" value="5" />
32 <value nick="192 Points 1.4 Ratio" value="6" />
33 <value nick="Custom" value="7" />
34 </enum>
35
36 <schema id="com.github.FontManager.FontViewer" path="/com/github/FontManager/FontViewer/">
37
38 <key name='window-size' type='(ii)'>
39 <summary>Window size</summary>
40 <description>Width and height of the main window.</description>
41 <default>(675, 500)</default>
42 </key>
43
44 <key name="is-maximized" type="b">
45 <default>false</default>
46 <summary>Window state</summary>
47 <description>Whether window is maximized</description>
48 </key>
49
50 <key name="prefer-dark-theme" type="b">
51 <default>false</default>
52 <summary>Use dark theme variant if available</summary>
53 <description>Whether the application prefers to use a dark theme</description>
54 </key>
55
56 <key name="use-adwaita-stylesheet" type="b">
57 <default>true</default>
58 <summary>Whether to use the Adwaita stylesheet when available</summary>
59 <description>true to use the Adwaita stylesheet</description>
60 </key>
61
62 <key name="preview-foreground-color" type="s">
63 <summary>Font preview foreground color</summary>
64 <description>Color to use for foreground (text color) in RGB format.</description>
65 <default>"rgb(0,0,0)"</default>
66 </key>
67
68 <key name="preview-background-color" type="s">
69 <summary>Font preview background color</summary>
70 <description>Color to use for background in RGB format</description>
71 <default>"rgb(255,255,255)"</default>
72 </key>
73
74 <key name="preview-font-size" type="d">
75 <range min="6.0" max="96.0"/>
76 <summary>Preview font size</summary>
77 <description>Size point to use in the preview area.</description>
78 <default>10.0</default>
79 </key>
80
81 <key name="preview-mode" enum="com.github.FontManager.FontManager.PreviewPageMode">
82 <summary>Preview Mode</summary>
83 <description>Possible modes are Preview, Waterfall and Lorem Ipsum.</description>
84 <default>"waterfall"</default>
85 </key>
86
87 <key name="preview-text" type="s">
88 <summary>Preview text</summary>
89 <description>Last preview text used</description>
90 <default>" The quick brown fox jumps over the lazy dog.
91
92 ABCDEFGHIJKLMNOPQRSTUVWXYZ
93 abcdefghijklmnopqrstuvwxyz
94 1234567890.:,;(*!?')
95
96 "</default>
97 </key>
98
99 <key name="preview-page" type="i">
100 <summary>Selected preview page</summary>
101 <description>Last selected preview page</description>
102 <default>0</default>
103 </key>
104
105 <key name="charmap-font-size" type="d">
106 <range min="6.0" max="96.0"/>
107 <summary>Character Map font size</summary>
108 <description>Size point to use in Character Map Mode.</description>
109 <default>16.0</default>
110 </key>
111
112 <key name="waterfall-line-spacing" type="i">
113 <summary>Waterfall preview line spacing</summary>
114 <description>Waterfall preview line spacing</description>
115 <default>0</default>
116 </key>
117
118 <key name="min-waterfall-size" type="d">
119 <range min="6.0" max="48.0"/>
120 <summary>Minimum waterfall preview size</summary>
121 <description>Minimum size point to render in Waterfall mode.</description>
122 <default>8.0</default>
123 </key>
124
125 <key name="max-waterfall-size" type="d">
126 <range min="6.0" max="192.0"/>
127 <summary>Maximum waterfall preview size</summary>
128 <description>Maximum size point to render in Waterfall mode.</description>
129 <default>48.0</default>
130 </key>
131
132 <key name="waterfall-size-ratio" type="d">
133 <range min="1.0" max="24.0"/>
134 <summary>Waterfall point size common ratio</summary>
135 <description>Waterfall point size common ratio.</description>
136 <default>1.0</default>
137 </key>
138
139 <key name="predefined-waterfall-size" enum="com.github.FontManager.FontViewer.Waterfall.PredefinedSize">
140 <summary>Waterfall Preview Predefined Size Setting</summary>
141 <description>Waterfall Preview Predefined Size Setting</description>
142 <default>"48 Points Linear"</default>
143 </key>
144
145 <!-- Default to false since enabling this causes RTL languages to be detected as LTR -->
146 <key name="waterfall-show-line-size" type="b">
147 <default>false</default>
148 <summary>Whether to display line size in Waterfall preview</summary>
149 <description>true to show line sizes in Waterfall preview</description>
150 </key>
151
152 </schema>
153
154 </schemalist>