summaryrefslogtreecommitdiffstats
path: root/src/sp-font.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-01-30Move classes derived from SPObject to own directory.Tavmjong Bah1-205/+0
A lot of header clean-up.
2018-01-08Misc. typosluz.paz1-1/+1
Found via `codespell`
2016-08-03Removed unused includes, decreased compilation time. Once againAdrian Boguszewski1-3/+1
(bzr r15034)
2016-07-28Reverted changes to r15024 after many building problemsAdrian Boguszewski1-1/+3
(bzr r15027)
2016-07-28Removed unused includes, decrease compilation timeAdrian Boguszewski1-3/+1
(bzr r15025)
2016-07-10Improve font editing dialog:Tavmjong Bah1-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)
2015-02-25create SPObject factoryLiam P. White1-9/+0
(bzr r13939.1.1)
2014-01-04Fix for Bug #1265556 (plain svg export is broken for filter).Nicolas Dufour1-1/+1
Fixed bugs: - https://launchpad.net/bugs/1265556 (bzr r12879)
2013-07-31Replacement of unnecessary variables.Markus Engel1-73/+55
(bzr r11608.1.114)
2013-04-07Merge Object and subclasses. Merging of SP- and C-classes complete.Markus Engel1-11/+8
(bzr r11608.1.86)
2013-04-06Merged more classes.Markus Engel1-44/+24
(bzr r11608.1.84)
2013-04-02Registered classes with new factory. Hkern, Vkern and FeFuncX have to be ↵Markus Engel1-0/+10
rewritten, as they aren't real classes. (bzr r11608.1.69)
2013-04-01Added constructors to SP classes.Markus Engel1-3/+9
(bzr r11608.1.67)
2013-03-31Prepared exchange of casting macros.Markus Engel1-0/+1
(bzr r11608.1.63)
2013-03-29Renamed virtual function names.Markus Engel1-14/+14
(bzr r11608.1.57)
2013-03-29Removed function pointers from SPObject and subclasses.Markus Engel1-6/+6
Added some missing virtual pads for classes that were hidden by preprocessor macros. (bzr r11608.1.55)
2013-03-29Added "virtual pads" toMarkus Engel1-31/+218
- SPFeFuncNode - SPFeDistantLight - SPFeMergeNode - SPFePointLight - SPFeSpotLight - SPFilter - SPFont - SPGuide Changes in SPItem and SPNamedView. (bzr r11608.1.49)
2013-03-19Fixing regressionjtx1-3/+0
(bzr r11950.1.61)
2013-03-17Working with widjetsJabier Arraiza Cenoz1-0/+3
(bzr r11950.1.56)
2013-03-16Drop checks for ancient dependency versions. These are satisfied elsewhere.Alex Valavanis1-3/+0
(bzr r12213)
2013-03-14Various changes.Markus Engel1-4/+6
(bzr r11608.1.48)
2013-01-23Clean up more GObject type definitionsAlex Valavanis1-45/+15
(bzr r12055)
2011-02-21Finished cleanup of outated SP_OBJECT_DOCUMENT C macro.Jon A. Cruz1-2/+2
(bzr r10060)
2010-07-12SPObject c++ification finalized along with the beginning of XML ↵Abhishek Sharma Public1-12/+12
Privatisation tweaks (bzr r9546.1.6)
2010-07-06C++ification of SPObject continued along with the onset of XML ↵Abhishek Sharma Public1-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)
2010-07-01C++fied SPDocument addedAbhishek Sharma Public1-2/+2
(bzr r9546.1.2)
2010-03-30Corrected string-to-number conversion to use locale-independent conversion ↵Jon A. Cruz1-13/+30
and to handle missing/null values. Fixes bug #544833. Fixed bugs: - https://launchpad.net/bugs/544833 (bzr r9259)
2009-12-13updating my email address in file headersFelipe Corr??a da Silva Sanches1-1/+1
(bzr r8889)
2009-08-06Revert recent refactoring changes by johnce because they break the build, ↵Maximilian Albert1-2/+2
which cannot be fixed easily. (bzr r8422)
2009-08-05SPDocument->Documentjohnce1-2/+2
(bzr r8404)
2009-01-06Warning and whitespace cleanup.Jon A. Cruz1-14/+14
(bzr r7083)
2009-01-05Another week coding offline...Felipe Corr??a da Silva Sanches1-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)
2008-12-28Now users can design a font within inkscape, save it and then open the Felipe Corr??a da Silva Sanches1-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)
2008-07-18removing lots of g_warningsFelipe Corr??a da Silva Sanches1-18/+0
(bzr r6348)
2008-07-11* removed the auxiliary GtkWindowFelipe Corr??a da Silva Sanches1-2/+0
* added font preview to the SvgFonts dialog (bzr r6254)
2008-06-26Fixed compilation when the new SVG font stuff is not enabled.Jon A. Cruz1-1/+0
(bzr r6063)
2008-06-25adding list of available SVGFonts to the SVGFonts dialogFelipe Corr??a da Silva Sanches1-0/+2
(bzr r6059)
2008-06-25adding ifdef HAVE_CONFIG_HFelipe Corr??a da Silva Sanches1-1/+4
(bzr r6054)
2008-06-11plumb XML::Documents in everywhereMenTaLguY1-4/+3
(bzr r5884)
2008-05-27* converted nr-svgfont.cpp to C++ code so that we can render multiple ↵Felipe Corr??a da Silva Sanches1-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)
2008-05-25* add rule in configure.ac so that only who has cairo > 1.6.4 (currently ↵Felipe Corr??a da Silva Sanches1-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)
2008-02-29fix some header definesFelipe Corr??a da Silva Sanches1-1/+1
(bzr r4906)
2008-02-28more boilerplate code for SVGFontsFelipe Corr??a da Silva Sanches1-0/+77
(bzr r4897)
2008-02-28a bit more boilerplate code for SVGFontsFelipe Corr??a da Silva Sanches1-6/+6
added <missing-glyph> (bzr r4890)
2008-02-27Warning cleanupJon A. Cruz1-1/+1
(bzr r4882)
2008-02-27tiny refactoringFelipe Corr??a da Silva Sanches1-14/+1
(bzr r4880)
2008-02-26SVGFonts boilerplate codeFelipe Corr??a da Silva Sanches1-0/+8
(bzr r4871)
2008-02-26new file. I forgot to add it on previous commitFelipe Corr??a da Silva Sanches1-0/+211
SVGFonts boilerplate code (bzr r4868)