hmmm - no. Edje-Vera-Bold is a pointless addition. why? it's not defined

anywhere! you would need a fonts {} sectin that maps Edje-Vera-Bold to a
.ttf file inlined into the .edj files. We don't included these anymore in the
theme. We use the (these days) standard Sans font on the system. the solution
to it missing/not working (when a bold style is used) is not adding fallbacks
in to fonts that don't exist. I have never seen any problem with this, so
those that do should be checking why the Sans and Sans:style=Bold fontconfig
font declarations don't work (lack of those fonts on their system? bad
fontconfig setup? maybe a bug in evas's fontconfig support?)



SVN revision: 37032
This commit is contained in:
Carsten Haitzler 2008-10-23 22:30:56 +00:00
parent 9c7946d77e
commit b90bb54c3d
1 changed files with 52 additions and 54 deletions

View File

@ -485,11 +485,9 @@ collections { /* begin the collection of edje groups that are in this file */
color_class: "border_title"; /* give it a color class so people
* can re-color it if they want */
text {
font: "Sans:style=Bold,Edje-Vera-Bold"; /* Use the Bold style
* of the Sans font,
* fallbacking to
* Edje-Vera-Bold if
* not available */
font: "Sans:style=Bold"; /* Use the Bold style
* of the Sans font from
* fontconfig */
size: 10; /* size in pixels - 10 */
min: 0 1; /* the text will not determine minimum horizontal
* size but WILL determine minimal vertical size
@ -806,7 +804,7 @@ collections { /* begin the collection of edje groups that are in this file */
text_source: "e.text.title"; /* and here is the magic. tell
* the text to be sourced from
* another part */
font: "Sans:style=Bold,Edje-Vera-Bold";
font: "Sans:style=Bold";
size: 10;
align: 0.0 0.0;
min: 0 1;
@ -1654,7 +1652,7 @@ collections { /* begin the collection of edje groups that are in this file */
color: 0 0 0 255;
color_class: "border_title";
text {
font: "Sans:style=Bold,Edje-Vera-Bold";
font: "Sans:style=Bold";
size: 10;
min: 0 1;
align: 0.0 0.0;
@ -1938,7 +1936,7 @@ collections { /* begin the collection of edje groups that are in this file */
color_class: "border_title";
text {
text_source: "e.text.title";
font: "Sans:style=Bold,Edje-Vera-Bold";
font: "Sans:style=Bold";
size: 10;
align: 0.0 0.0;
min: 0 1;
@ -2709,7 +2707,7 @@ collections { /* begin the collection of edje groups that are in this file */
color: 0 0 0 255;
color_class: "border_title";
text {
font: "Sans:style=Bold,Edje-Vera-Bold";
font: "Sans:style=Bold";
size: 10;
min: 0 1;
align: 0.0 0.0;
@ -2993,7 +2991,7 @@ collections { /* begin the collection of edje groups that are in this file */
color_class: "border_title";
text {
text_source: "e.text.title";
font: "Sans:style=Bold,Edje-Vera-Bold";
font: "Sans:style=Bold";
size: 10;
align: 0.0 0.0;
min: 0 1;
@ -3583,7 +3581,7 @@ collections { /* begin the collection of edje groups that are in this file */
color: 0 0 0 255;
color_class: "border_title";
text {
font: "Sans:style=Bold,Edje-Vera-Bold";
font: "Sans:style=Bold";
size: 10;
min: 0 1;
align: 0.0 0.0;
@ -3765,7 +3763,7 @@ collections { /* begin the collection of edje groups that are in this file */
color_class: "border_title";
text {
text_source: "e.text.title";
font: "Sans:style=Bold,Edje-Vera-Bold";
font: "Sans:style=Bold";
size: 10;
align: 0.0 0.0;
min: 0 1;
@ -4482,7 +4480,7 @@ collections { /* begin the collection of edje groups that are in this file */
color: 0 0 0 255;
color_class: "border_title";
text {
font: "Sans:style=Bold,Edje-Vera-Bold";
font: "Sans:style=Bold";
size: 10;
min: 0 1;
align: 0.0 0.0;
@ -4664,7 +4662,7 @@ collections { /* begin the collection of edje groups that are in this file */
color_class: "border_title";
text {
text_source: "e.text.title";
font: "Sans:style=Bold,Edje-Vera-Bold";
font: "Sans:style=Bold";
size: 10;
align: 0.0 0.0;
min: 0 1;
@ -5341,7 +5339,7 @@ collections { /* begin the collection of edje groups that are in this file */
color: 255 255 255 255;
color3: 0 0 0 32;
text {
font: "Sans:style=Bold,Edje-Vera-Bold";
font: "Sans:style=Bold";
size: 10;
min: 0 1;
align: 0.5 0.0;
@ -5447,7 +5445,7 @@ collections { /* begin the collection of edje groups that are in this file */
color_class: "menu_title";
text {
text_source: "e.text.title";
font: "Sans:style=Bold,Edje-Vera-Bold";
font: "Sans:style=Bold";
size: 10;
align: 0.5 0.0;
min: 0 0;
@ -6704,7 +6702,7 @@ collections { /* begin the collection of edje groups that are in this file */
color: 224 224 224 255;
color3: 0 0 0 64;
text {
font: "Sans:style=Bold,Edje-Vera-Bold";
font: "Sans:style=Bold";
size: 10;
align: 0.5 0.0;
min: 1 1;
@ -6862,7 +6860,7 @@ collections { /* begin the collection of edje groups that are in this file */
color: 0 0 0 0;
color_class: "module_label";
text {
font: "Sans:style=Bold,Edje-Vera-Bold";
font: "Sans:style=Bold";
size: 8;
align: 0.5 0.5;
text_class: "module_small";
@ -7490,7 +7488,7 @@ collections { /* begin the collection of edje groups that are in this file */
color3: 0 0 0 0;
color_class: "module_label";
text {
font: "Sans:style=Bold,Edje-Vera-Bold";
font: "Sans:style=Bold";
size: 8;
min: 1 1;
align: 0.5 0.0;
@ -7524,7 +7522,7 @@ collections { /* begin the collection of edje groups that are in this file */
color3: 0 0 0 0;
color_class: "module_label";
text {
font: "Sans:style=Bold,Edje-Vera-Bold";
font: "Sans:style=Bold";
size: 8;
min: 1 1;
align: 0.5 1.0;
@ -7679,7 +7677,7 @@ collections { /* begin the collection of edje groups that are in this file */
}
color: 0 0 0 255;
text { text: "Your battery is low!";
font: "Sans:style=Bold,Edje-Vera-Bold";
font: "Sans:style=Bold";
size: 10;
min: 1 1;
align: 0.5 0.5;
@ -7807,7 +7805,7 @@ collections { /* begin the collection of edje groups that are in this file */
color3: 0 0 0 0;
color_class: "module_label";
text {
font: "Sans:style=Bold,Edje-Vera-Bold";
font: "Sans:style=Bold";
size: 8;
min: 1 1;
align: 0.0 0.0;
@ -8505,7 +8503,7 @@ collections { /* begin the collection of edje groups that are in this file */
color_class: "module_label";
text {
text: "??? Ghz";
font: "Sans:style=Bold,Edje-Vera-Bold";
font: "Sans:style=Bold";
size: 6;
align: 0.5 0.5;
min: 1 1;
@ -8913,7 +8911,7 @@ collections { /* begin the collection of edje groups that are in this file */
color3: 0 0 0 0;
color_class: "module_label";
text {
font: "Sans:style=Bold,Edje-Vera-Bold";
font: "Sans:style=Bold";
size: 10;
min: 1 1;
align: 0.5 0.5;
@ -9528,7 +9526,7 @@ collections { /* begin the collection of edje groups that are in this file */
color_class: "winlist_label";
text {
text: "Title goes here";
font: "Sans:style=Bold,Edje-Vera-Bold";
font: "Sans:style=Bold";
size: 10;
min: 0 1;
align: 0.5 0.5;
@ -9555,7 +9553,7 @@ collections { /* begin the collection of edje groups that are in this file */
color: 224 224 224 255;
color3: 0 0 0 64;
text {
font: "Sans:style=Bold,Edje-Vera-Bold";
font: "Sans:style=Bold";
size: 10;
align: 0.5 0.0;
min: 1 1;
@ -9927,7 +9925,7 @@ collections { /* begin the collection of edje groups that are in this file */
color: 255 255 255 255;
color3: 0 0 0 64;
text {
font: "Sans:style=Bold,Edje-Vera-Bold";
font: "Sans:style=Bold";
size: 16;
align: 0.0 0.5;
min: 1 1;
@ -11830,7 +11828,7 @@ collections { /* begin the collection of edje groups that are in this file */
color: 255 255 255 255;
color3: 0 0 0 32;
text {
font: "Sans:style=Bold,Edje-Vera-Bold";
font: "Sans:style=Bold";
size: 10;
min: 1 1;
align: 0.5 0.0;
@ -11872,7 +11870,7 @@ collections { /* begin the collection of edje groups that are in this file */
color: 255 255 255 255;
color3: 0 0 0 32;
text {
font: "Sans:style=Bold,Edje-Vera-Bold";
font: "Sans:style=Bold";
size: 10;
min: 0 0;
align: 0.5 0.5;
@ -12166,7 +12164,7 @@ collections { /* begin the collection of edje groups that are in this file */
color: 224 224 224 255;
color3: 0 0 0 64;
text {
font: "Sans:style=Bold,Edje-Vera-Bold";
font: "Sans:style=Bold";
size: 10;
min: 1 1;
align: 0.5 0.5;
@ -12579,7 +12577,7 @@ collections { /* begin the collection of edje groups that are in this file */
color: 224 224 224 255;
color3: 0 0 0 64;
text {
font: "Sans:style=Bold,Edje-Vera-Bold";
font: "Sans:style=Bold";
size: 10;
min: 0 1;
align: 0.5 0.5;
@ -12967,7 +12965,7 @@ collections { /* begin the collection of edje groups that are in this file */
color: 224 224 224 255;
color3: 0 0 0 32;
text {
font: "Sans:style=Bold,Edje-Vera-Bold";
font: "Sans:style=Bold";
size: 10;
min: 1 1;
align: 0.5 0.5;
@ -13354,7 +13352,7 @@ collections { /* begin the collection of edje groups that are in this file */
color: 224 224 224 255;
color3: 0 0 0 32;
text {
font: "Sans:style=Bold,Edje-Vera-Bold";
font: "Sans:style=Bold";
size: 10;
min: 0 1;
align: 0.5 0.5;
@ -15407,9 +15405,9 @@ collections { /* begin the collection of edje groups that are in this file */
styles {
style {
name: "sys_style";
base: "font=Sans:style=Bold,Edje-Vera-Bold font_size=12 text_class=tb_plain align=center valign=center color=#fff style=soft_shadow shadow_color=#0000001f wrap=word";
base: "font=Sans:style=Bold font_size=12 text_class=tb_plain align=center valign=center color=#fff style=soft_shadow shadow_color=#0000001f wrap=word";
tag: "br" "\n";
tag: "hilight" "+ font=Sans:style=Bold,Edje-Vera-Bold text_class=tb_light";
tag: "hilight" "+ font=Sans:style=Bold text_class=tb_light";
}
}
parts {
@ -15640,7 +15638,7 @@ collections { /* begin the collection of edje groups that are in this file */
name: "dialog_style";
base: "font=Sans font_size=10 text_class=tb_plain align=center color=#000 style=shadow shadow_color=#ffffff80 wrap=word";
tag: "br" "\n";
tag: "hilight" "+ font=Sans:style=Bold,Edje-Vera-Bold text_class=tb_light";
tag: "hilight" "+ font=Sans:style=Bold text_class=tb_light";
}
}
parts {
@ -18138,7 +18136,7 @@ group { name: "e/toolbar/default/base";
color3: 0 0 0 32;
color_class: "ilist_item";
text {
font: "Sans:style=Bold,Edje-Vera-Bold";
font: "Sans:style=Bold";
size: 16;
min: 1 1;
align: 0.0 0.5;
@ -18317,7 +18315,7 @@ group { name: "e/toolbar/default/base";
color3: 0 0 0 32;
color_class: "ilist_item";
text {
font: "Sans:style=Bold,Edje-Vera-Bold";
font: "Sans:style=Bold";
size: 16;
min: 1 1;
align: 0.0 0.5;
@ -19445,7 +19443,7 @@ group { name: "e/toolbar/default/base";
}
color: 0 0 0 64;
text {
font: "Sans:style=Bold,Edje-Vera-Bold";
font: "Sans:style=Bold";
size: 10;
min: 1 1;
max: 1 1;
@ -19521,10 +19519,10 @@ group { name: "e/toolbar/default/base";
styles {
style { name: "textblock_style";
base: "font=Sans font_size=10 align=left color=#000 style=shadow shadow_color=#ffffff80 wrap=word";
tag: "title" "+ font=Sans:style=Bold,Edje-Vera-Bold font_size=12 style=soft_shadow color=#fff shadow_color=#00000021";
tag: "hilight" "+ font=Sans:style=Bold,Edje-Vera-Bold style=glow color=#fff glow2_color=#333333be glow_color=#0000005a";
tag: "urgent" "+ font=Sans:style=Bold,Edje-Vera-Bold style=glow color=#fff glow2_color=#333 glow_color=#b01010";
tag: "b" "+ font=Sans:style=Bold,Edje-Vera-Bold";
tag: "title" "+ font=Sans:style=Bold font_size=12 style=soft_shadow color=#fff shadow_color=#00000021";
tag: "hilight" "+ font=Sans:style=Bold style=glow color=#fff glow2_color=#333333be glow_color=#0000005a";
tag: "urgent" "+ font=Sans:style=Bold style=glow color=#fff glow2_color=#333 glow_color=#b01010";
tag: "b" "+ font=Sans:style=Bold";
tag: "br" "\n";
}
}
@ -19619,7 +19617,7 @@ group { name: "e/toolbar/default/base";
color3: 0 0 0 32;
text {
text: "Enter Password";
font: "Sans:style=Bold,Edje-Vera-Bold";
font: "Sans:style=Bold";
size: 10;
align: 0.5 0.5;
min: 1 1;
@ -19699,7 +19697,7 @@ group { name: "e/toolbar/default/base";
color: 0 0 0 255;
text {
text: "****";
font: "Sans:style=Bold,Edje-Vera-Bold";
font: "Sans:style=Bold";
size: 16;
align: 0.0 0.5;
min: 1 1;
@ -20823,9 +20821,9 @@ group { name: "e/toolbar/default/base";
// data.item: "shaped" "1";
styles {
style { name: "about_style";
base: "font=Sans:style=Bold,Edje-Vera-Bold font_size=10 align=center valign=center color=#e0e0e0ff style=soft_shadow shadow_color=#00000020 wrap=word";
tag: "hilight" "+ font=Sans:style=Bold,Edje-Vera-Bold text_class=tb_light color=#f00 style=soft_shadow";
tag: "title" "+ font_size=12 font=Sans:style=Bold,Edje-Vera-Bold text_class=tb_big style=soft_shadow color=#fff shadow_color=#00000020";
base: "font=Sans:style=Bold font_size=10 align=center valign=center color=#e0e0e0ff style=soft_shadow shadow_color=#00000020 wrap=word";
tag: "hilight" "+ font=Sans:style=Bold text_class=tb_light color=#f00 style=soft_shadow";
tag: "title" "+ font_size=12 font=Sans:style=Bold text_class=tb_big style=soft_shadow color=#fff shadow_color=#00000020";
tag: "/title" "- \n \n";
tag: "br" "\n";
}
@ -21019,7 +21017,7 @@ group { name: "e/toolbar/default/base";
offset: 11 -1;
}
text {
font: "Sans:style=Bold,Edje-Vera-Bold";
font: "Sans:style=Bold";
size: 10;
min: 1 1;
align: 1.0 0.5;
@ -21044,7 +21042,7 @@ group { name: "e/toolbar/default/base";
offset: -1 -1;
}
text {
font: "Sans:style=Bold,Edje-Vera-Bold";
font: "Sans:style=Bold";
size: 10;
min: 1 1;
align: 0.0 0.5;
@ -21235,7 +21233,7 @@ group { name: "e/toolbar/default/base";
}
styles {
style { name: "theme_about_style";
base: "font=Sans:style=Bold,Edje-Vera-Bold font_size=10 align=center valign=center color=#e0e0e0ff style=soft_shadow shadow_color=#0000001f wrap=word";
base: "font=Sans:style=Bold font_size=10 align=center valign=center color=#e0e0e0ff style=soft_shadow shadow_color=#0000001f wrap=word";
tag: "br" "\n";
}
}
@ -21712,7 +21710,7 @@ group { name: "e/icons/fileman/mime/"MIME; \
color: 245 245 245 255; \
text { \
text: NAME; \
font: "Sans:style=Bold,Edje-Vera-Bold"; \
font: "Sans:style=Bold"; \
size: 4; \
fit: 1 1; \
min: 1 1; \
@ -22152,7 +22150,7 @@ MIMEBASE("application/x-font-bdf","icon_mime_font_generic.png", ".BDF", 128);
color3: 0 0 0 32;
text {
text: "Enlightenment";
font: "Sans:style=Bold,Edje-Vera-Bold";
font: "Sans:style=Bold";
size: 20;
min: 1 1;
align: 0.5 0.5;
@ -22209,7 +22207,7 @@ MIMEBASE("application/x-font-bdf","icon_mime_font_generic.png", ".BDF", 128);
color3: 0 0 0 32;
text {
text: "Starting Enlightenment. Please wait.";
font: "Sans:style=Bold,Edje-Vera-Bold";
font: "Sans:style=Bold";
size: 10;
min: 1 1;
align: 0.5 0.5;