Matthias Clasen
2a05c04db7
Use the hb face as key when tracking fonts
...
The hb face is is a wrapper around the font file, which is what
we need to track here, since we want to subset and serialize each
used font file exactly once.
2024-06-03 07:44:16 -04:00
Matthias Clasen
a6ffd6b3b2
nodeparser: Subset fonts
...
When serializing nodes, collect the glyphs that are used from
each font, subset the font to that set of glyphs, and embed it
into the node file. We are careful to preserve the glyph IDs,
so our text nodes transparently work with the subsettted fonts.
2024-06-03 07:38:51 -04:00
Matthias Clasen
24eba7c4c1
Merge branch 'matthiasc/for-main' into 'main'
...
Drop redundant GLib version check
See merge request GNOME/gtk!7334
2024-06-03 00:22:16 +00:00
Matthias Clasen
80de844922
Cosmetics
2024-06-02 20:07:33 -04:00
Matthias Clasen
a2223c0884
Drop redundant GLib version check
...
We require GLib 2.76 now.
2024-06-02 20:07:33 -04:00
Matthias Clasen
5ffa2b757c
Merge branch 'less-vulkan' into 'main'
...
Don't use Vulkan without dmabufs
See merge request GNOME/gtk!7220
2024-06-02 23:58:24 +00:00
Matthias Clasen
b660fa27d3
Merge branch 'fix-missing-listeners' into 'main'
...
wayland: Add missing listeners
See merge request GNOME/gtk!7331
2024-06-02 20:42:13 +00:00
Matthias Clasen
77f0e5e1ba
wayland: Add missing listeners
...
Now that we are using version 6 of the compositor interface,
we need to have preferred scale and bufer transform callbacks
everywhere.
2024-06-02 12:07:51 -04:00
Matthias Clasen
1080822ffa
Merge branch 'matthiasc/css-deprecation-warning' into 'main'
...
css: Emit deprecation warnings only under debug
See merge request GNOME/gtk!7330
2024-06-02 15:33:32 +00:00
Matthias Clasen
3fef45683c
css: Emit deprecation warnings only under debug
2024-06-02 15:33:32 +00:00
Matthias Clasen
cfcc5c5c0b
Merge branch 'docs-add-missing-returns-args' into 'main'
...
docs: Add missing returns and parameter annotations
See merge request GNOME/gtk!7325
2024-06-02 15:26:50 +00:00
Matthias Clasen
856f1808de
Merge branch 'matthiasc/for-main' into 'main'
...
Fix a bug in color conversion
See merge request GNOME/gtk!7328
2024-06-02 15:24:09 +00:00
Matthias Clasen
4341344545
css: Add a utility for color space coords
2024-06-02 11:08:35 -04:00
Matthias Clasen
20392e8840
Cosmetics
2024-06-02 10:48:21 -04:00
Matthias Clasen
426fefff81
Merge branch 'bilelmoussaoui/gi-constructor' into 'main'
...
gtk: Mark DragIcon.get_for_drag as constructor
See merge request GNOME/gtk!7329
2024-06-02 14:43:29 +00:00
Bilal Elmoussaoui
13013053f7
gtk: Mark DragIcon.get_for_drag as constructor
...
Fixes downstream issue: https://github.com/gtk-rs/gtk4-rs/issues/1748
2024-06-02 16:54:17 +03:00
Matthias Clasen
62b9a4af75
Drop an unused static
2024-06-02 09:19:22 -04:00
Matthias Clasen
76caf2c812
color value: Organize the code
...
Add some sections, so I can find my way around.
2024-06-02 08:46:56 -04:00
Matthias Clasen
3d5fce1b9f
Fix a bug in color conversion
...
The linear space corresponding to oklab is oklab, not srgb-linear.
2024-06-02 08:46:33 -04:00
Matthias Clasen
bfe8adbee4
Merge branch 'fix-obvious-doc-issues' into 'main'
...
Fix obvious docstring issues
See merge request GNOME/gtk!7320
2024-06-02 12:02:06 +00:00
Matthias Clasen
827642303c
Merge branch 'fix-getter-for-dropdown' into 'main'
...
gtkdropdown: Use proper attribute
See merge request GNOME/gtk!7327
2024-06-02 11:56:53 +00:00
Maximiliano Sandoval
6b6a0e1257
docs: Fix {g,s}et_property attributes annotations
...
Do not use set_property on getters and vice versa.
2024-06-02 13:49:45 +02:00
Martin
7a98176a02
Update Slovenian translation
2024-06-01 08:53:47 +00:00
Maximiliano Sandoval
a93a986ef2
gtkiconview: docs: Add missing return annotation
2024-06-01 10:01:20 +02:00
Maximiliano Sandoval
39dbc5ea87
gtkcombobox: Document popdown signal return value
2024-06-01 10:01:20 +02:00
Maximiliano Sandoval
cf4d13bee3
gdkevents: gdk_event_get_position return value
2024-06-01 10:01:20 +02:00
Maximiliano Sandoval
0bacde8e0a
gskpathbuilder: Document add_cairo_path path arg
2024-06-01 10:01:19 +02:00
Maximiliano Sandoval
949cd45bb7
gskstroke: Add missing return annotations
2024-06-01 10:01:19 +02:00
Maximiliano Sandoval
2e9e216641
gtkicontheme: Document lockup_icon arguments
2024-06-01 10:01:19 +02:00
Maximiliano Sandoval
1ab8ffaceb
gtktextchild: Document new_with_replacement arg
2024-06-01 10:01:19 +02:00
Maximiliano Sandoval
3cc1726856
gtkstringlist: Document strings property
2024-06-01 10:01:19 +02:00
Maximiliano Sandoval
30eaa2c3cc
gtk: Add missing return annotations
2024-06-01 10:01:19 +02:00
Maximiliano Sandoval
ba5993195a
filedialog: Document get_accept_label
2024-06-01 10:01:19 +02:00
Maximiliano Sandoval
bf42351ebf
cellrendererspinner: Fix active signal docs
2024-06-01 09:04:01 +02:00
Maximiliano Sandoval
ee277f4d92
gtksectionmodel: Fix typo in sections-changed link
2024-06-01 09:04:01 +02:00
Maximiliano Sandoval
00acc7957f
gdkcursor: Fix typo in GdkCursorGetTestureCallback
2024-06-01 09:04:00 +02:00
Maximiliano Sandoval
a931335f24
gskglshader: Correct typo in source property
2024-06-01 09:04:00 +02:00
Maximiliano Sandoval
1ef320a9ec
gsktransform: Document constructor
2024-06-01 09:04:00 +02:00
Maximiliano Sandoval
411b7f12b5
gtkicontheme: Fix typo in return annotation
2024-06-01 09:03:59 +02:00
Maximiliano Sandoval
611fcfb1c7
gtkgraphicsoffload: Fix typo in prop name
2024-06-01 09:03:59 +02:00
Maximiliano Sandoval
6257a51f4f
gtkflowbox: Fix typos in annotations
2024-06-01 09:03:58 +02:00
Maximiliano Sandoval
e24630bd18
gtkenums: Correctly document AnnouncementPriority
2024-06-01 09:03:58 +02:00
Maximiliano Sandoval
6b0b3a4db7
gtkprintsettings: Delete extra whitespace
2024-06-01 09:03:58 +02:00
Maximiliano Sandoval
fd19c7c2ab
gtkscrolledwindow: Fix typo in docstring
2024-06-01 09:03:57 +02:00
Maximiliano Sandoval
4aa2206699
gtktextview: Fix typo Textview in docstrings
2024-06-01 09:03:57 +02:00
Maximiliano Sandoval
eae23ebf69
gtkbuilderscope: Correct the argument values
...
These should match the function arguments.
2024-06-01 09:03:56 +02:00
Maximiliano Sandoval
ecd27f6c3c
entry: Fix typos in tabs and show-emoji-icon
2024-06-01 09:03:56 +02:00
Maximiliano Sandoval
01f3c72338
sectionsmodel: Fix typo in docstring
2024-06-01 09:03:55 +02:00
Matthias Clasen
87be414c05
Merge branch 'color-fixes' into 'main'
...
Fix oklch conversion
See merge request GNOME/gtk!7324
2024-06-01 01:42:45 +00:00
Matthias Clasen
f6d676cc8a
inspector: Use gdk_rgba_print when suitable
2024-05-31 21:39:32 -04:00