summaryrefslogtreecommitdiffstats
path: root/src/sp-font.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Move classes derived from SPObject to own directory.Tavmjong Bah2018-01-301-205/+0
| | | | A lot of header clean-up.
* Misc. typosluz.paz2018-01-081-1/+1
| | | Found via `codespell`
* Improve font editing dialog.Tavmjong Bah2016-09-061-3/+3
|\ | | | | (bzr r15109)
| * Improve font editing dialog:Tavmjong Bah2016-07-101-3/+3
| | | | | | | | | | | | | | | | 1. Allow for fonts with other than 1000 units per em. 2. Allow setting 'ascent', 'descent', etc. 3. Allow setting individual glyph horizontal advances. 4. Fix bug where 'units-per-em' was not read correctly. (bzr r15014.1.1)
* | Removed unused includes, decreased compilation time. Once againAdrian Boguszewski2016-08-031-3/+1
| | | | | | (bzr r15034)
* | Reverted changes to r15024 after many building problemsAdrian Boguszewski2016-07-281-1/+3
| | | | | | (bzr r15027)
* | Removed unused includes, decrease compilation timeAdrian Boguszewski2016-07-281-3/+1
|/ | | (bzr r15025)
* create SPObject factoryLiam P. White2015-02-251-9/+0
| | | (bzr r13939.1.1)
* Fix for Bug #1265556 (plain svg export is broken for filter).Nicolas Dufour2014-01-041-1/+1
| | | | | | Fixed bugs: - https://launchpad.net/bugs/1265556 (bzr r12879)
* Replacement of unnecessary variables.Markus Engel2013-07-311-73/+55
| | | (bzr r11608.1.114)
* Merge Object and subclasses. Merging of SP- and C-classes complete.Markus Engel2013-04-071-11/+8
| | | (bzr r11608.1.86)
* Merged more classes.Markus Engel2013-04-061-44/+24
| | | (bzr r11608.1.84)
* Registered classes with new factory. Hkern, Vkern and FeFuncX have to be ↵Markus Engel2013-04-021-0/+10
| | | | | rewritten, as they aren't real classes. (bzr r11608.1.69)
* Added constructors to SP classes.Markus Engel2013-04-011-3/+9
| | | (bzr r11608.1.67)
* Prepared exchange of casting macros.Markus Engel2013-03-311-0/+1
| | | (bzr r11608.1.63)
* Renamed virtual function names.Markus Engel2013-03-291-14/+14
| | | (bzr r11608.1.57)
* merged from trunkMarkus Engel2013-03-291-245/+3
|\ | | | | (bzr r11608.1.56)
| * Drop checks for ancient dependency versions. These are satisfied elsewhere.Alex Valavanis2013-03-161-3/+0
| | | | | | (bzr r12213)
| * Clean up more GObject type definitionsAlex Valavanis2013-01-231-45/+15
| | | | | | (bzr r12055)
* | Removed function pointers from SPObject and subclasses.Markus Engel2013-03-291-6/+6
| | | | | | | | | | Added some missing virtual pads for classes that were hidden by preprocessor macros. (bzr r11608.1.55)
* | Added "virtual pads" toMarkus Engel2013-03-291-31/+218
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - SPFeFuncNode - SPFeDistantLight - SPFeMergeNode - SPFePointLight - SPFeSpotLight - SPFilter - SPFont - SPGuide Changes in SPItem and SPNamedView. (bzr r11608.1.49)
* | Various changes.Markus Engel2013-03-141-4/+6
|/ | | (bzr r11608.1.48)
* Finished cleanup of outated SP_OBJECT_DOCUMENT C macro.Jon A. Cruz2011-02-211-2/+2
| | | (bzr r10060)
* Merge and cleanup of GSoC C++-ification project.Jon A. Cruz2010-12-121-20/+23
|\ | | | | (bzr r9945.1.1)
| * SPObject c++ification finalized along with the beginning of XML ↵Abhishek Sharma Public2010-07-121-12/+12
| | | | | | | | | | Privatisation tweaks (bzr r9546.1.6)
| * C++ification of SPObject continued along with the onset of XML ↵Abhishek Sharma Public2010-07-061-6/+8
| | | | | | | | | | Privatisation. Users may checkout [grep -Ir XML Tree *] in the source code and all the places where the XML node/Tree is being used shall be reflected. (bzr r9546.1.5)
| * C++fied SPDocument addedAbhishek Sharma Public2010-07-011-2/+2
|/ | | (bzr r9546.1.2)
* Corrected string-to-number conversion to use locale-independent conversion ↵Jon A. Cruz2010-03-301-13/+30
| | | | | | | | and to handle missing/null values. Fixes bug #544833. Fixed bugs: - https://launchpad.net/bugs/544833 (bzr r9259)
* updating my email address in file headersFelipe Corr??a da Silva Sanches2009-12-131-1/+1
| | | (bzr r8889)
* Revert recent refactoring changes by johnce because they break the build, ↵Maximilian Albert2009-08-061-2/+2
| | | | | which cannot be fixed easily. (bzr r8422)
* SPDocument->Documentjohnce2009-08-051-2/+2
| | | (bzr r8404)
* Warning and whitespace cleanup.Jon A. Cruz2009-01-061-14/+14
| | | (bzr r7083)
* Another week coding offline...Felipe Corr??a da Silva Sanches2009-01-051-1/+1
| | | | | | | | | | | | * 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-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* removing lots of g_warningsFelipe Corr??a da Silva Sanches2008-07-181-18/+0
| | | (bzr r6348)
* * removed the auxiliary GtkWindowFelipe Corr??a da Silva Sanches2008-07-111-2/+0
| | | | | * added font preview to the SvgFonts dialog (bzr r6254)
* Fixed compilation when the new SVG font stuff is not enabled.Jon A. Cruz2008-06-261-1/+0
| | | (bzr r6063)
* adding list of available SVGFonts to the SVGFonts dialogFelipe Corr??a da Silva Sanches2008-06-251-0/+2
| | | (bzr r6059)
* adding ifdef HAVE_CONFIG_HFelipe Corr??a da Silva Sanches2008-06-251-1/+4
| | | (bzr r6054)
* plumb XML::Documents in everywhereMenTaLguY2008-06-111-4/+3
| | | (bzr r5884)
* * converted nr-svgfont.cpp to C++ code so that we can render multiple ↵Felipe Corr??a da Silva Sanches2008-05-271-1/+1
| | | | | | | | instances of fonts. Currently we have one auxiliary GtkWindow for each <font> in a document. * Implemented C++ binding for cairo userfonts. This will probably be sent to cairomm soon. * Added a second font to the svgfont.svg test file. (bzr r5756)
* * add rule in configure.ac so that only who has cairo > 1.6.4 (currently ↵Felipe Corr??a da Silva Sanches2008-05-251-1/+7
| | | | | | | cairo git master branch) will compile SVGFonts (experimental) support. * First code for SVGFonts rendering. Renders in a separate window because we still dont have pango integration. (bzr r5753)
* fix some header definesFelipe Corr??a da Silva Sanches2008-02-291-1/+1
| | | (bzr r4906)
* more boilerplate code for SVGFontsFelipe Corr??a da Silva Sanches2008-02-281-0/+77
| | | (bzr r4897)
* a bit more boilerplate code for SVGFontsFelipe Corr??a da Silva Sanches2008-02-281-6/+6
| | | | | added <missing-glyph> (bzr r4890)
* Warning cleanupJon A. Cruz2008-02-271-1/+1
| | | (bzr r4882)
* tiny refactoringFelipe Corr??a da Silva Sanches2008-02-271-14/+1
| | | (bzr r4880)
* SVGFonts boilerplate codeFelipe Corr??a da Silva Sanches2008-02-261-0/+8
| | | (bzr r4871)
* new file. I forgot to add it on previous commitFelipe Corr??a da Silva Sanches2008-02-261-0/+211
SVGFonts boilerplate code (bzr r4868)