[kde-doc-english] [okular] conf: GUI to configure the Text/Graphics Anti-alias and Text hinting

Albert Astals Cid aacid at kde.org
Mon Dec 31 11:15:57 UTC 2012


Git commit 1d914e6bf547d173851582cba53c5372d960b6ff by Albert Astals Cid, on behalf of Jaydeep Solanki.
Committed on 31/12/2012 at 12:15.
Pushed by aacid into branch 'master'.

GUI to configure the Text/Graphics Anti-alias and Text hinting

BUGS: 164759
REVIEW: 106660
GUI:

M  +31   -1    conf/dlgperformancebase.ui
M  +3    -3    conf/okular_core.kcfg

http://commits.kde.org/okular/1d914e6bf547d173851582cba53c5372d960b6ff

diff --git a/conf/dlgperformancebase.ui b/conf/dlgperformancebase.ui
index 3a9f9aa..3909654 100644
--- a/conf/dlgperformancebase.ui
+++ b/conf/dlgperformancebase.ui
@@ -7,7 +7,7 @@
     <x>0</x>
     <y>0</y>
     <width>316</width>
-    <height>289</height>
+    <height>344</height>
    </rect>
   </property>
   <layout class="QVBoxLayout">
@@ -211,6 +211,36 @@
     </widget>
    </item>
    <item>
+    <widget class="QGroupBox" name="groupBox_2">
+     <property name="title">
+      <string>Rendering</string>
+     </property>
+     <layout class="QVBoxLayout" name="verticalLayout">
+      <item>
+       <widget class="QCheckBox" name="kcfg_TextAntialias">
+        <property name="text">
+         <string>Enable Text Antialias</string>
+        </property>
+       </widget>
+      </item>
+      <item>
+       <widget class="QCheckBox" name="kcfg_GraphicsAntialias">
+        <property name="text">
+         <string>Enable Graphics Antialias</string>
+        </property>
+       </widget>
+      </item>
+      <item>
+       <widget class="QCheckBox" name="kcfg_TextHinting">
+        <property name="text">
+         <string>Enable Text Hinting</string>
+        </property>
+       </widget>
+      </item>
+     </layout>
+    </widget>
+   </item>
+   <item>
     <spacer>
      <property name="orientation">
       <enum>Qt::Vertical</enum>
diff --git a/conf/okular_core.kcfg b/conf/okular_core.kcfg
index 5e5cc13..054b5c1 100644
--- a/conf/okular_core.kcfg
+++ b/conf/okular_core.kcfg
@@ -21,22 +21,22 @@
   <entry key="TextAntialias" type="Enum" >
    <default>Enabled</default>
    <choices>
-    <choice name="Enabled" />
     <choice name="Disabled" />
+    <choice name="Enabled" />
    </choices>
   </entry>
   <entry key="GraphicsAntialias" type="Enum" >
    <default>Enabled</default>
    <choices>
-    <choice name="Enabled" />
     <choice name="Disabled" />
+    <choice name="Enabled" />
    </choices>
   </entry>
   <entry key="TextHinting" type="Enum" >
    <default>Disabled</default>
    <choices>
-    <choice name="Enabled" />
     <choice name="Disabled" />
+    <choice name="Enabled" />
    </choices>
   </entry>
  </group>


More information about the kde-doc-english mailing list