summaryrefslogtreecommitdiff
path: root/capplets/appearance/appearance-font.c
AgeCommit message (Collapse)AuthorFilesLines
2019-08-02appearance: fix memory leakWu Xiaotian1-0/+1
2019-08-01appearance: add new font for userWu Xiaotian1-0/+75
2019-06-18Remove trailing whitespacesrbuj1-1/+1
find . -regextype posix-extended -regex '.*\.(c|h|ac)' -exec sed --in-place 's/[[:space:]]\+$//' {} \+
2018-03-16Add auto-detect toggle switchVictor Kareh1-15/+59
Currently if a user changes the DPI, there is no way to reset it back to the auto-detected value from Xserver (which we store as 0 in gsettings). Adding this toggle solves that issue. I also removed a deprecated [GtkHandleBox](https://developer.gnome.org/gtk3/stable/GtkHandleBox.html) and all its associated code.
2018-02-06Scale font DPI for HiDPI displaysVictor Kareh1-12/+28
Automatically scales up the font DPI when loading the GtkSpinner and down-scale when saving it. The result is that the user gets the correct DPI showing in the Appearance > Fonts > Details app, while gsettings stores the down-scaled DPI.
2018-01-26Add support for HiDPI displays (#325)Victor Kareh1-0/+5
* Support font auto-scaling for HiDPI displays * Use nicer-looking numbers for DPI, since the spinner only supports integers * Remove ceil for scaled DPI
2017-12-20WidthOfScreen and HeightOfScreen implementationPablo Barciela1-38/+3
This commit reverts: https://github.com/mate-desktop/mate-control-center/commit/fe782c673262e861334bb48265abf5075ff02680 https://github.com/mate-desktop/mate-control-center/commit/061f3780a3af6224a804d239f9b9dfc5c81873f6 And it applies an alternative to fix the deprecated functions: gdk_screen_get_width gdk_screen_get_height gdk_screen_width gdk_screen_height
2017-12-01Fixes font dpi with "org.mate.desktop.font-rendering.dpi" by defaultPablo Barciela1-3/+25
2017-08-15appearance-font.c: avoid deprecated gdk_screen_get_width/height_mmZenWalker1-1/+14
2017-08-15avoid deprecated gdk_screen_get_width/heightZenWalker1-4/+6
2016-12-02move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build optionmonsta1-16/+0
and require libmatekbd, libmate-desktop, marco, m-s-d >= 1.17
2016-05-27Change default hinting style of 'Subpixel smoothing' mode to slightPiotr Jurkiewicz1-4/+4
Also render antialiasing samples using HINT_SLIGHT instead HINT_FULL. Change this in order to match change of default hinting style to 'hintslight' introduced in mate-desktop/mate-settings-daemon@f7d59c0353773b5deb4f1d400abd6ebf. Change in mate-settings-daemon was made in order to match new default hinting style settings introduced in fontconfig 2.11.95.
2016-05-27Render hinting samples using ANTIALIAS_RGBAPiotr Jurkiewicz1-4/+4
Change this in order to match change of default antialiasing mode to 'rgba' introduced in mate-desktop/mate-settings-daemon@921505df63f9fa55089b519bd8629210.
2015-08-29appearance-font: Use pango and cairo to rander fontsRoy Zhang1-223/+85
This patch fixes #135
2015-08-03Use GdkVisual accessor functions instead of direct accessinfirit1-1/+1
2015-07-15appearance-font: Replace Gdk drawing with cairoinfirit1-23/+16
This unifies the drawing code between Gtk versions. But with Gtk3 the setup_font_sample is broken and requires considerable effort to fix. Maybe pango can help us here..
2014-11-27Gtk3: size-request signal is no more, use correct apiDenis Gorodnichev1-1/+8
2014-11-27Revert "Gtk3: size-request signal is no more, use correct api"infirit1-8/+1
This reverts commit 06a00876a690711437d30f7183595734298cd603.
2014-11-27correctly destory enum_groupDenis Gorodnichev1-2/+2
2014-11-27Gtk3: size-request signal is no more, use correct apiinfirit1-1/+8
2014-10-03Use Caja GSettings schema optionallyBalló György1-5/+9
This makes Caja dependency optional. Disable desktop font setting if no Caja present. Closes https://github.com/mate-desktop/mate-control-center/pull/119
2014-01-24appearance: Fix crash with GTK3Stefano Karapetsas1-1/+1
2014-01-24appearance: Add GTK3 supportStefano Karapetsas1-0/+48
2012-10-23migrate appearance applet to gsettingsStefano Karapetsas1-300/+102
2011-12-01moving from https://github.com/perberos/mate-desktop-environmentPerberos1-0/+961