File: font_preview.edc

package info (click to toggle)
elementary 0.7.0.55225-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 10,856 kB
  • sloc: ansic: 71,870; sh: 10,138; makefile: 822
file content (40 lines) | stat: -rw-r--r-- 867 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
color_classes {
   color_class {
      name: "entry_text";
      color: 0 0 0 255;
   }
}

collections {

   group { name: "font_preview";
      parts {

         /* some fonts have weird alignments, thus they overflow badly */
         part { name: "clipper";
            type: RECT;
            description {
               state: "default" 0.0;
            }
         }

         part { name: "elm.text";
            type: TEXT;
            mouse_events: 0;
            scale: 1;
            clip_to: "clipper";
            description {
               state: "default" 0.0;
               color_class: "entry_text";
               text {
                  font: "Sans";
                  min: 0 1;
                  size: 10;
                  align: 0.5 0.5;
                  text_class: "font_preview";
               }
            }
         }
      }
   }
}