~centralelyon2010/inkscape/imagelinks2

« back to all changes in this revision

Viewing changes to src/helper-fns.h

  • 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:
57
57
inline std::vector<gdouble> helperfns_read_vector(const gchar* value, int size){
58
58
        std::vector<gdouble> v(size, (gdouble) 0);
59
59
        std::istringstream is(value);
60
 
        for(int i = 0; i < size && (is >> v[i]); i++);
 
60
        for(int i = 0; i < size && (is >> v[i]); i++){};
61
61
        return v;
62
62
}
63
63