diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2010-04-14 15:36:23 +0000 |
|---|---|---|
| committer | tavmjong-free <tavmjong@free.fr> | 2010-04-14 15:36:23 +0000 |
| commit | 29edecc65ee3fcec2320d3ad718e7f4dc3cff42a (patch) | |
| tree | 1442784a06cf56de1957bc1760be69c2fc8351c3 /src | |
| parent | Finally add myself to AUTHORS file as test of using Bazaar. (diff) | |
| download | inkscape-29edecc65ee3fcec2320d3ad718e7f4dc3cff42a.tar.gz inkscape-29edecc65ee3fcec2320d3ad718e7f4dc3cff42a.zip | |
Changed default font from Bitstream Vera Sans to Sans. Not
everyone has Bitstream Vera Sans and having a non-existant
default font can cause problems.
(bzr r9328)
Diffstat (limited to 'src')
| -rw-r--r-- | src/preferences-skeleton.h | 2 | ||||
| -rw-r--r-- | src/style.cpp | 6 | ||||
| -rw-r--r-- | src/ui/dialog/filedialogimpl-gtkmm.cpp | 8 | ||||
| -rw-r--r-- | src/ui/widget/imageicon.cpp | 2 |
4 files changed, 9 insertions, 9 deletions
diff --git a/src/preferences-skeleton.h b/src/preferences-skeleton.h index af9b446d8..c12b8f9ba 100644 --- a/src/preferences-skeleton.h +++ b/src/preferences-skeleton.h @@ -112,7 +112,7 @@ static char const preferences_skeleton[] = " <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 19ff711da..a05cef252 100644 --- a/src/style.cpp +++ b/src/style.cpp @@ -2783,9 +2783,9 @@ sp_text_style_new() 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; } diff --git a/src/ui/dialog/filedialogimpl-gtkmm.cpp b/src/ui/dialog/filedialogimpl-gtkmm.cpp index 916e3ec97..6f83a706f 100644 --- a/src/ui/dialog/filedialogimpl-gtkmm.cpp +++ b/src/ui/dialog/filedialogimpl-gtkmm.cpp @@ -271,7 +271,7 @@ void SVGPreview::showImage(Glib::ustring &theFileName) "<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"; @@ -374,7 +374,7 @@ void SVGPreview::showNoPreview() "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"; @@ -471,13 +471,13 @@ void SVGPreview::showTooLarge(long fileLength) "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"; diff --git a/src/ui/widget/imageicon.cpp b/src/ui/widget/imageicon.cpp index 6a817e30d..71ba4428c 100644 --- a/src/ui/widget/imageicon.cpp +++ b/src/ui/widget/imageicon.cpp @@ -295,7 +295,7 @@ void ImageIcon::showBrokenImage(const Glib::ustring &errorMessage) " <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'" |
