summaryrefslogtreecommitdiffstats
path: root/src/sp-font-face.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Warning and whitespace cleanup.Jon A. Cruz2009-01-061-41/+41
| | | (bzr r7083)
* Now users can design a font within inkscape, save it and then open the Felipe Corr??a da Silva Sanches2008-12-281-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-55/+0
| | | (bzr r6348)
* adding ifdef HAVE_CONFIG_HFelipe Corr??a da Silva Sanches2008-06-251-1/+4
| | | (bzr r6054)
* reintroducing code that initially committed in revision 18594 and the have ↵Felipe Corr??a da Silva Sanches2008-06-221-0/+375
| | | | | | | | | | | | | | been reverted on revision 18607. * implemented handling of font-style, font-variant, font-weight, and font-stretch attributes on font-face tags This have been previously reverted because I thought they were already handled in node->style, but now I see that this code is needed for font description (used in the font tag to declare font attributes to be stored in the user agent font database). The node->style info is used for font specification (used by document authors with the purpose of declaring the properties of fonts that they would like in their SVG documents). (bzr r6023)
* plumb XML::Documents in everywhereMenTaLguY2008-06-111-4/+3
| | | (bzr r5884)
* * add rule in configure.ac so that only who has cairo > 1.6.4 (currently ↵Felipe Corr??a da Silva Sanches2008-05-251-1/+3
| | | | | | | 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)
* reverting previous work on font-face attributes. These attributes are ↵Felipe Corr??a da Silva Sanches2008-05-131-375/+0
| | | | | already treated in SPStyle (bzr r5662)
* * implemented handling of font-style, font-variant, font-weight, and Felipe Corr??a da Silva Sanches2008-05-121-1/+346
| | | | | | | font-stretch attributes on font-face tags * fixed typo on v-ideographic attribute on attributes.cpp * fixed typo on src/sp-font-face.h (bzr r5652)
* attribute loading for font-face tagFelipe Corr??a da Silva Sanches2008-05-101-0/+574
first draft. Still incomplete. (bzr r5644)