summaryrefslogtreecommitdiffstats
path: root/src/unicoderange.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* modernize loopsMarc Jeanmougin2019-01-021-4/+3
|
* Clarify licensesMax Gaukler2018-11-081-0/+9
| | | | | | - add license headers to everything - convert a few files from public domain or LGPL2.1+ to GPL2+ - some archaeology to clarify which files are from which library
* Run clang-tidy’s modernize-deprecated-headers pass.Emmanuel Gil Peyrot2018-06-181-2/+2
| | | | This renames most C <*.h> includes into C++ <c*> includes.
* Run clang-tidy’s modernize-use-nullptr pass.Emmanuel Gil Peyrot2018-06-181-1/+1
| | | | | This replaces all NULL or 0 with nullptr when assigned to or returned as a pointer.
* fix memory allocation bug (thanks to clang's static analyzer scan-build)Johan B. C. Engelen2014-03-241-2/+2
| | | (bzr r13205)
* code cleanup (cppcheck)Johan B. C. Engelen2013-08-051-2/+1
| | | (bzr r12469)
* cppcheck: c-style casts > c++ style castsKris De Gussem2013-08-041-96/+97
| | | (bzr r12466)
* cppcheckKris De Gussem2013-06-211-3/+5
| | | (bzr r12382)
* cppcheckKris De Gussem2011-10-201-2/+2
| | | (bzr r10686)
* Another week coding offline...Felipe Corr??a da Silva Sanches2009-01-051-16/+15
| | | | | | | | | | | | * 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. (bzr r7082)
* Now users can design a font within inkscape, save it and then open the Felipe Corr??a da Silva Sanches2008-12-281-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SVG file in Fontforge in order to export a truetype font (or other system font formarts fontforge supports). This improves previous workflow of font design using Inkscape which involved creating one SVG for each glyph. Now user only needs to create a single SVG file containing an SVGFont. Glyph kerning settings for the font can also be defined withing Inkscape itself with live preview. The kerning management still needs some improvements but is currently functional at least. Improvements in the SVGFonts dialog: * In Global Settings tab you can define the font family name. Other attributes should be added to this tab in the future. * Glyphs tab allows the user to: ** see a list (combobox) of glyphs available in the currently selected font. ** add/remove glyphs ** edit glyph name and unicode ** set the glyph curves based on a given path (selected from canvas). Same feature for the missing glyph. * Kerning tab allows user to: ** add new kerning pairs ** adjust kerning values of selected kerning pair ** live preview while adjusting the kerning values Code refactoring: * Inner classes DocumentProperties::SignalObserver and FilterEffectsDialog::SignalObserver were duplicated code and another instance would be needed in SVGFonts dialog. So, I moved it to Inkscape::XML::SignalObserver (in helper-observer.{cpp,h}) * changed SPGlyph->glyph_name and SPGlyph->unicode from char* to Glib::ustring * added sp_remove_resource to the release method in sp-font.cpp * glyph curves used to be stored (in d attribute) and rendered upside-down. Now that bug is fixed. Sorry about this huge commit. I got one week away from the Internet during a xmas travel. The lack of 'net connection made me work more intensely in Inkscape :-D Felipe Sanches (bzr r7029)
* implement kerning by glyph-name, g1 and g2 attributesFelipe Corr??a da Silva Sanches2008-06-231-0/+1
| | | (bzr r6026)
* commenting out a g_warningFelipe Corr??a da Silva Sanches2008-06-201-1/+1
| | | (bzr r6003)
* * src/unicoderange.cpp: s/malloc.h/stdlib.h/to fix compile error on Mac OS X.mjwybrow2008-06-171-1/+1
| | | (bzr r5969)
* minor tweak for portability. linux compile was brokenBob Jamison2008-06-161-1/+4
| | | (bzr r5953)
* UnicodeRange class implementation.Felipe Corr??a da Silva Sanches2008-06-161-0/+96
This class represents a range of unicode codepoints as used in the u1 and u2 attributes of glyph kerning nodes. (bzr r5949)