~centralelyon2010/inkscape/imagelinks2

« back to all changes in this revision

Viewing changes to src/ui/dialog/inkscape-preferences.cpp

  • Committer: JucaBlues
  • Date: 2009-01-05 23:49:00 UTC
  • Revision ID: jucablues@users.sourceforge.net-20090105234900-cu6djsgy1dr9t3cx
Another week coding offline...

* Adding Set Width (horiz-adv-x attribute) slider to the SVGFonts dialog.
* Fixed the order of some language options at the i18n preferences page.
* Fixed parsing and handling of u1 and u2 (CSS2 unicode range) attributes for kerning pair nodes
* Fixed a warning in helper-fns.h 
* commented out unused variable in sp-font.cpp
* refactoring of nr-svgfonts.cpp
* using 1000 instead of horiz-adv-x when scaling the glyph coordinates. Probably should use a value based on units-per-em in the future. Or maybe accent-height, 
cap-height, x-height... I don't know. I should study this subject a bit more first.



Show diffs side-by-side

added added

removed removed

Lines of Context:
1044
1044
        _("sv Swedish"), _("th Thai"), _("tr Turkish"), _("uk Ukrainian"), _("vi Vietnamese"), _("zh_CN Chinese, as spoken in China"), 
1045
1045
        _("zh_TW Chinese, as spoken in Taiwan")};
1046
1046
    Glib::ustring langValues[] = {"", "am", "ar", "az", "be", "bg", "bn", "br", "ca", "ca@valencia", "cs", "da", "de",
1047
 
        "dz", "el", "en", "en_AU", "en_CA", "en_GB", "en_US@piglatin", "eo", "es_MX", "es", "et", "eu", "fi", "fr", "ga",
 
1047
        "dz", "el", "en", "en_AU", "en_CA", "en_GB", "en_US@piglatin", "eo", "es", "es_MX", "et", "eu", "fi", "fr", "ga",
1048
1048
        "gl", "he", "hr", "hu", "hy", "id", "it", "ja", "km", "ko", "lt", "mk", "mn", "nb", "ne", "nl", "nn", "pa",
1049
 
        "pl", "pt_BR", "pt", "ro", "ru", "rw", "sk", "sl", "sq", "sr@latin", "sr", "sv", "th", "tr", "uk", "vi",
 
1049
        "pl", "pt", "pt_BR", "ro", "ru", "rw", "sk", "sl", "sq", "sr", "sr@latin", "sv", "th", "tr", "uk", "vi",
1050
1050
        "zh_CN", "zh_TW"};
1051
1051
 
1052
 
    _ui_languages.init( "/ui/language", languages, langValues, G_N_ELEMENTS(languages), languages[0]);   
 
1052
    _ui_languages.init( "/ui/language", languages, langValues, G_N_ELEMENTS(languages), languages[0]);
1053
1053
    _page_ui.add_line( false, _("Language (requires restart):"), _ui_languages, "",
1054
 
                              _("Set the language for menues and number-formats"), false);
 
1054
                              _("Set the language for menus and number-formats"), false);
1055
1055
 
1056
1056
     Glib::ustring sizeLabels[] = {_("Normal"), _("Medium"), _("Small")};
1057
1057
    int sizeValues[] = {0, 1, 2};