summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: be1701e)
raw | patch | inline | side by side (parent: be1701e)
author | tavmjong-free <tavmjong@free.fr> | |
Wed, 14 Apr 2010 15:36:23 +0000 (17:36 +0200) | ||
committer | tavmjong-free <tavmjong@free.fr> | |
Wed, 14 Apr 2010 15:36:23 +0000 (17:36 +0200) |
everyone has Bitstream Vera Sans and having a non-existant
default font can cause problems.
default font can cause problems.
src/preferences-skeleton.h | patch | blob | history | |
src/style.cpp | patch | blob | history | |
src/ui/dialog/filedialogimpl-gtkmm.cpp | patch | blob | history | |
src/ui/widget/imageicon.cpp | patch | blob | history |
index af9b446d868ca7f496dbd50b91bca8cd89473c6a..c12b8f9ba3d441af10a1a7c2456fe02b208f9aff 100644 (file)
" <eventcontext id=\"text\" usecurrent=\"0\" gradientdrag=\"1\"\n"
" font_sample=\"AaBbCcIiPpQq12369$\342\202\254\302\242?.;/()\"\n"
" show_sample_in_list=\"1\"\n"
-" style=\"fill:black;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;font-style:normal;font-weight:normal;font-size:40px;\" selcue=\"1\"/>\n"
+" style=\"fill:black;fill-opacity:1;stroke:none;font-family:Sans;font-style:normal;font-weight:normal;font-size:40px;\" selcue=\"1\"/>\n"
" <eventcontext id=\"nodes\" selcue=\"1\" gradientdrag=\"1\" highlight_color=\"4278190335\" pathflash_enabled=\"1\" pathflash_unselected=\"0\" pathflash_timeout=\"500\" show_handles=\"1\" show_outline=\"0\" sculpting_profile=\"1\" single_node_transform_handles=\"0\" show_transform_handles=\"0\" live_outline=\"1\" live_objects=\"1\" show_helperpath=\"0\" x=\"0\" y=\"0\" edit_clipping_paths=\"0\" edit_masks=\"0\" />\n"
" <eventcontext id=\"tweak\" selcue=\"0\" gradientdrag=\"0\" show_handles=\"0\" width=\"0.2\" force=\"0.2\" fidelity=\"0.5\" usepressure=\"1\" style=\"fill:red;stroke:none;\" usecurrent=\"0\"/>\n"
" <eventcontext id=\"spray\" selcue=\"0\" gradientdrag=\"0\" show_handles=\"0\" width=\"0.2\" force=\"0.2\" fidelity=\"0.5\" usepressure=\"1\" style=\"fill:red;stroke:none;\" usecurrent=\"0\"/>\n"
diff --git a/src/style.cpp b/src/style.cpp
index 19ff711dae9f313a9a208debef71abfab68fa775..a05cef252c1d789d0e0a7b88d813c66c159df1f4 100644 (file)
--- a/src/style.cpp
+++ b/src/style.cpp
ts->refcount = 1;
sp_text_style_clear(ts);
- ts->font_specification.value = g_strdup("Bitstream Vera Sans");
- ts->font.value = g_strdup("Bitstream Vera Sans");
- ts->font_family.value = g_strdup("Bitstream Vera Sans");
+ ts->font_specification.value = g_strdup("Sans");
+ ts->font.value = g_strdup("Sans");
+ ts->font_family.value = g_strdup("Sans");
return ts;
}
index 916e3ec97f82dc9f98d3c3839592bbdf846a4ee7..6f83a706faaa3d6475660db532972b34fcbdeeae 100644 (file)
"<text\n"
" style=\"font-size:24.000000;font-style:normal;font-weight:normal;"
" fill:#000000;fill-opacity:1.0000000;stroke:none;"
- " font-family:Bitstream Vera Sans\"\n"
+ " font-family:Sans\"\n"
" x=\"10\" y=\"26\">%d x %d</text>\n" //# VALUES HERE
"</svg>\n\n";
"style=\"font-size:32.000000;font-style:normal;font-variant:normal;font-weight:bold;"
"font-stretch:normal;fill:#000000;fill-opacity:1.0000000;stroke:none;stroke-width:1.0000000pt;"
"stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000;"
- "font-family:Bitstream Vera Sans;text-anchor:middle;writing-mode:lr\"\n"
+ "font-family:Sans;text-anchor:middle;writing-mode:lr\"\n"
"x=\"190\" y=\"240\">%s</text></g>\n" //# VALUE HERE
"</svg>\n\n";
"style=\"font-size:32.000000;font-style:normal;font-variant:normal;font-weight:bold;"
"font-stretch:normal;fill:#000000;fill-opacity:1.0000000;stroke:none;stroke-width:1.0000000pt;"
"stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000;"
- "font-family:Bitstream Vera Sans;text-anchor:middle;writing-mode:lr\"\n"
+ "font-family:Sans;text-anchor:middle;writing-mode:lr\"\n"
"x=\"170\" y=\"215\">%5.1f MB</text>\n" //# VALUE HERE
"<text xml:space=\"preserve\"\n"
"style=\"font-size:24.000000;font-style:normal;font-variant:normal;font-weight:bold;"
"font-stretch:normal;fill:#000000;fill-opacity:1.0000000;stroke:none;stroke-width:1.0000000pt;"
"stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000;"
- "font-family:Bitstream Vera Sans;text-anchor:middle;writing-mode:lr\"\n"
+ "font-family:Sans;text-anchor:middle;writing-mode:lr\"\n"
"x=\"180\" y=\"245\">%s</text>\n" //# VALUE HERE
"</svg>\n\n";
index 6a817e30d8918417f8334472643599b7620af46a..71ba4428c5b6440466c5d718217cec3f52a9d595 100644 (file)
" <text"
" xml:space='preserve'"
" id='text1644'"
- " style='font-size:12.000000;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1.0000000;stroke:none;stroke-width:1.0000000px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000;font-family:Bitstream Vera Sans'"
+ " style='font-size:12.000000;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1.0000000;stroke:none;stroke-width:1.0000000px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000;font-family:Sans'"
" y='59.288345'"
" x='12.760736'><tspan"
" id='tspan1646'"