1. 16 Oct, 2019 2 commits
  2. 11 Oct, 2019 1 commit
  3. 15 Aug, 2019 1 commit
  4. 26 Jul, 2019 1 commit
  5. 07 Jun, 2019 2 commits
    • Fabian Vogt's avatar
      kcm_fonts: Fix tracking of configuration changes · df81b30e
      Fabian Vogt authored
      Summary:
      Sometimes, kcm_fonts wrote garbage into fonts.conf. This was a result of not
      initializing variables properly. In addition, toggling the exclude range
      checkbox did not enable the Apply button. That's fixed as well now.
      
      Test Plan:
      Did almost every possible antialiasing settings configuration,
      fonts.conf looked as expected.
      
      Reviewers: #plasma, bshah
      
      Reviewed By: #plasma, bshah
      
      Subscribers: plasma-devel
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D21640
      df81b30e
    • Fabian Vogt's avatar
      kcm_fonts: Initialize variables properly · cf3ac466
      Fabian Vogt authored
      Summary: Currently they have undefined values, which leads to garbage in fonts.conf.
      
      Test Plan:
      Did some changes, no <double>nan</double> or <double>-2.14748e+09</double>
      anymore.
      
      Reviewers: #plasma, bshah
      
      Reviewed By: #plasma, bshah
      
      Subscribers: plasma-devel
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D21641
      cf3ac466
  6. 27 May, 2019 2 commits
    • Bhushan Shah's avatar
      Make slight/rgb the default option · 1958f1ca
      Bhushan Shah authored
      Medium hinting and None subpixel rendering was default options added
      when we used Oxygen fonts, however freetype recommends slight hinting as
      seen in this blog post from 2015 [1].
      
      Also RGB hinting is most-recommended over the None. See linked bug
      report as well.
      
      BUG: 389598
      
      [1] https://www.freetype.org/freetype2/docs/text-rendering-general.html
      1958f1ca
    • Julian Wolff's avatar
      Parse global config files. Remove 'Vendor default' option. Fix changes not recognized. · 39c6facc
      Julian Wolff authored
      The fonts kcm did only parse a local config file. Global and default settings were not recognized.
      With this patch, all global config files are parsed before the local file is parsed.
      This allows us to drop the "Vendor default" option.
      
      This patch also fixes some changes not recognized (apply button disabled).
      
      CCBUG: 386566
      
      Test Plan:
      
      Delete `~/.config/fontconfig/fonts.conf` and `~/.config/kcmfonts` .
      Run `kcmshell5 fonts`. The default/global settings should be displayed.
      Change some settings. The apply button should be enabled.
      Save. A new config file should be created.
      
      Follow up of the D12925
      39c6facc
  7. 31 Mar, 2019 1 commit
  8. 13 Feb, 2019 1 commit
    • Filip Fila's avatar
      Make Appearance KCMs' labels consistent · 089612d2
      Filip Fila authored
      Summary:
      With the purpose of making KCMs more consistent and following the HIG, this patch does the following:
      
      - Converts all .desktop file "Comment" values into action(verb)-style labels
      - Drops the use of articles in "Comment" values
      - Changes the KAboutData i18n strings so that they match the respective KCM's name
      
      Reviewers: GB_2, #vdg, ngraham, #plasma
      
      Reviewed By: GB_2, #vdg, ngraham
      
      Subscribers: davidedmundson, broulik, plasma-devel
      
      Tags: #plasma
      
      Maniphest Tasks: T10273
      
      Differential Revision: https://phabricator.kde.org/D18903
      089612d2
  9. 10 Feb, 2019 1 commit
    • Björn Feber's avatar
      Improve the look of the Fonts KCM UI · 9dac09af
      Björn Feber authored
      Summary:
      Makes some improvements to the Fonts KCM UI, like applying the KDE HIG, adding icons and tooltips to buttons and improving the buttons, updating strings and more.
      {F6603675}
      
      Test Plan: Open the Fonts KCM.
      
      Reviewers: #plasma, #vdg, ngraham, rooty, davidedmundson
      
      Reviewed By: #plasma, #vdg, ngraham, rooty, davidedmundson
      
      Subscribers: davidedmundson, ndavis, ngraham, rooty, plasma-devel, #vdg, #plasma
      
      Tags: #plasma
      
      Maniphest Tasks: T10273
      
      Differential Revision: https://phabricator.kde.org/D18861
      9dac09af
  10. 10 Dec, 2018 1 commit
  11. 02 Dec, 2018 1 commit
  12. 16 Nov, 2018 1 commit
  13. 10 Nov, 2018 1 commit
  14. 23 May, 2018 1 commit
    • David Edmundson's avatar
      Fix Font KCM force font DPI checkbox · b2694cfc
      David Edmundson authored
      Summary:
      Fixes numerous issues:
      
      1) the default behaviour had changed. It should disable force font DPI,
      not set it to 96
      2) disabling didn't work, we'd set the value to 0, which would update
      the spinbox, which has a minimum which sets the value to 96 (we were
      warned of this with a binding loop error)
      3) toggling the checkbox didn't enable the apply button
      
      New code fixes that and is more declarative too.
      
      BUG: 394180
      
      Test Plan: Toggled, reset to defaults, restarted
      
      Reviewers: #plasma, progwolff, broulik
      
      Reviewed By: #plasma, progwolff, broulik
      
      Subscribers: broulik, plasma-devel
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D13051
      b2694cfc
  15. 22 Apr, 2018 1 commit
    • Julian Wolff's avatar
      add preview images to fonts kcm · 1793b51e
      Julian Wolff authored
      Summary:
      The fonts kcm offers different font rendering settings. Currently, one needs to apply the settings and
      reopen the application to see the changes.
      This patch adds a way to render fonts at different settings (mostly based on existing code in kfontinst) and
      adds preview images to the sub-pixel and hinting comboboxes.
      
      This is part of a planned redesign of the fonts kcm. See the discussion in https://phabricator.kde.org/T7927
      
      Test Plan:
      Open the fonts kcm, click on the sub-pixel combobox. The preview images should look different.
      
      {F5743556}
      
      Reviewers: #plasma, harmathy, mart, davidedmundson, ngraham
      
      Reviewed By: #plasma, harmathy, mart, ngraham
      
      Subscribers: ngraham, davidedmundson, abetts, broulik, plasma-devel
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D11064
      1793b51e
  16. 09 Apr, 2018 1 commit
  17. 09 Mar, 2018 1 commit
    • Julian Wolff's avatar
      fix detecting changes in sub-pixel and hinting settings · ac5c3929
      Julian Wolff authored
      Summary:
      Since D8916, on changes to the sub-pixel and hinting comboboxes the "apply" button stays disabled.
      This patch fixes this, so that one can actually apply changes to the font rendering settings.
      
      Test Plan: Open the fonts kcm and change the sub-pixel or hinting settings. The apply button should be enabled.
      
      Reviewers: #plasma, davidedmundson
      
      Reviewed By: #plasma, davidedmundson
      
      Subscribers: plasma-devel
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D11174
      ac5c3929
  18. 24 Jan, 2018 2 commits
  19. 23 Jan, 2018 2 commits
    • Marco Martin's avatar
      QML port of fonts kcm · 24b960f9
      Marco Martin authored
      Summary:
      port the fonts kcm to QML, reviving an old branch.
      UI based upon M112/411
      make use of the new Kirigami FormLayout
      depends from D8641
      Fixes T7244
      
      Test Plan: tried all the options
      
      Reviewers: #plasma, #vdg
      
      Subscribers: hein, ngraham, plasma-devel
      
      Tags: #plasma
      
      Maniphest Tasks: T7244
      
      Differential Revision: https://phabricator.kde.org/D8916
      24b960f9
    • Alexander Volkov's avatar
      Remove QT_VERSION checks · 699a0d50
      Alexander Volkov authored
      Summary: We require Qt 5.9, so these checks are redundant.
      
      Reviewers: #plasma, davidedmundson
      
      Reviewed By: #plasma, davidedmundson
      
      Subscribers: plasma-devel
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D10037
      699a0d50
  20. 24 Oct, 2017 1 commit
  21. 19 Oct, 2017 1 commit
  22. 15 Sep, 2017 1 commit
  23. 20 Aug, 2017 1 commit
  24. 10 Aug, 2017 1 commit
    • David Edmundson's avatar
      Don't require X11 to save font DPI to config · f97930a8
      David Edmundson authored
      Summary:
      startplasma (wayland) uses the font DPI value from this config.
      We don't require X11 to show a spinbox and save it to a file.
      
      The part that calls into xrdb is still guarded.
      
      Test Plan:
      Compiled
      Compiled with #undef HAVE_X11 added after including config-workspace.
      Still had the UI setting
      
      Reviewers: #plasma, mart
      
      Reviewed By: #plasma, mart
      
      Subscribers: plasma-devel
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D7205
      f97930a8
  25. 08 Aug, 2017 1 commit
  26. 01 Jul, 2017 1 commit
  27. 26 Feb, 2017 1 commit
    • Fabian Vogt's avatar
      Fix default fixed font in fonts kcm · d02de0db
      Fabian Vogt authored
      Summary:
      Now it is the same as used by plasma-integration.
      Also adjust the file name in the comment, which was apparently forgotten.
      
      Test Plan: Hitting "Defaults" in kcmshell5 fonts now shows "Hack 9" instead of "Oxygen Mono 9".
      
      Reviewers: #plasma, davidedmundson
      
      Reviewed By: #plasma, davidedmundson
      
      Subscribers: plasma-devel
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D4794
      d02de0db
  28. 23 Feb, 2017 1 commit
    • Jonathan Marten's avatar
      Fonts KCM: Fix layout of hinting settings, port away from KDE4 · cc572049
      Jonathan Marten authored
      The dialogue spacing around and between GUI elements is restored,
      and the combo boxes lined up.
      
      KDE4 -> KF5 porting done:
      
        KDialog -> QDialog
        KApplication -> QApplication
        KProcess -> QProcess
        KStandardDirs -> KSharedConfig
        KDoubleNumInput -> QDoubleSpinBox
      
      KDE4 porting still remaining to be done:
      
        KGlobalSettings::emitChange(KGlobalSettings::FontChanged)
        KFontDialog::getFontDiff()
      
      Differential Revision: https://phabricator.kde.org/D4740
      cc572049
  29. 08 Feb, 2017 1 commit
  30. 17 Nov, 2015 1 commit
  31. 01 Nov, 2015 1 commit
  32. 21 Oct, 2015 1 commit
  33. 20 Apr, 2015 1 commit
  34. 21 Oct, 2014 1 commit
  35. 29 Sep, 2014 1 commit
    • Fuminobu TAKEYAMA's avatar
      Fix BUG#105797: inappropriate fontconfig settings are saved when... · f02df03c
      Fuminobu TAKEYAMA authored
      Fix BUG#105797: inappropriate fontconfig settings are saved when kcontrol/fonts is shown and no way to revert them
      
      Fix kcontrol/fonts saves fontconfig settings when it is opened. Add "System default" to each config. It removes a corresponding fontconfig entry made by this module. "System default" is now default values for sub-pixel rendering and hinting.
      
      Selecting "System default" also reverts Xft configs.
      
      BUG: 105797
      
      REVIEW: 119764
      BUG: 105797
      f02df03c