
    ?g                     h    d dl Z  e j                  dd       d dlmZ d dlmZ d dl  G d d      Zy)	    NGtkz3.0)r   )SidePage)*c                   0    e Zd ZdZdZ ed      Zd Zd Zy)ModulefontsappearzConfigure system fontsc                 Z    t        d      }t        t        d      d|||       }|| _        y )Nzfont, size, small, largeFont Selectionzcs-fonts)module)_r   sidePage)selfcontent_boxkeywordsr   s       9/usr/share/cinnamon/cinnamon-settings/modules/cs_fonts.py__init__zModule.__init__   s-    /0A./X{[_`     c                 v   | j                   s,t        d       t               }| j                  j	                  |       |j                  t        d            }t        j                  j                  t        j                  j                        }t        t        d      dd|      }|j                  |       t        t        d      dd	|      }|j                  |       t        t        d
      dd|      }|j                  |       t        t        d      dd|      }|j                  |       t        t        d      dd|      }|j                  |       |j                  t        d            }dt        d      gdt        d      gdt        d      gg}dt        d      gdt        d      gdt        d      gdt        d      gg}dt        d      gd t        d!      gd"t        d#      gd$t        d%      gd&t        d'      gg}t        j                  j                  t        j                  j                        }t        t        d(      dd)d*|+      }|j                  |       t        t        d,      d-d.||      }|j!                  t        d/             |j                  |       t        t        d0      d-d1||      }|j!                  t        d2             |j                  |       t        t        d3      d-d4||      }|j!                  t        d5             |j                  |       y y )6NzLoading Fonts moduler   zDefault fontzorg.cinnamon.desktop.interfacez	font-name)
size_groupzDesktop fontzorg.nemo.desktopfontzDocument fontzorg.gnome.desktop.interfacezdocument-font-namezMonospace fontzmonospace-font-namezWindow title fontz#org.cinnamon.desktop.wm.preferencesztitlebar-fontzFont SettingsnoneNone	grayscale	GrayscalergbaRgbaslightSlightmediumMediumfullFullRGBArgbRGBbgrBGRvrgbzVertical RGBvbgrzVertical BGRzText scaling factorztext-scaling-factorg?)stepr   Hintingz.org.cinnamon.settings-daemon.plugins.xsettingshintingz;Hinting allows for producing clear, legible text on screen.Antialiasingantialiasingz=Antialiasing makes on screen text smoother and easier to readz
RGBA Orderz
rgba-orderz]The order of subpixel elements on an LCD screen, only used when antialiasing is set to 'rgba')loadedprintSettingsPager   
add_widgetadd_sectionr   r   	SizeGroupnewSizeGroupMode
HORIZONTALGSettingsFontButtonadd_rowGSettingsSpinButtonGSettingsComboBoxset_tooltip_text)r   pagesettingsr   widget
aa_optionshinting_optionsrgba_optionss           r   on_module_selectedzModule.on_module_selected   sC   {{()>DMM$$T*''*:(;<H**3+<+<+G+GHJ(>):<\^i  wA  BFV$(>):<NPVcmnFV$(?);=Z\p  ~H  IFV$(+;)<>[]r  @J  KFV$(+>)?Afhw  EO  PFV$''/(:;H!1V9-Q{^/LvWXY_W`NabJ &&	2Xq{4KhXYZbXcMdgmopqwoxfyzO#QvY/%51BUAeHDUX^`abp`qWru{}~  @N  ~O  uP  QL**3+<+<+G+GHJ(+@)ACcez  BE  R\  ]FV$&q|5egp  sB  OY  ZF##A&c$deV$&q'8:jlz  }G  T^  _F##A&e$fgV$&q8hjv  yE  R\  ]F##A  'F  %G  HV$[ r   N)	__name__
__module____qualname__namecategoryr   commentr   rD    r   r   r   r      s!    DH()G!
.%r   r   )girequire_versiongi.repositoryr   SettingsWidgetsr   xapp.GSettingsWidgetsr   rK   r   r   <module>rQ      s/    
   5%    $ #8% 8%r   