summaryrefslogtreecommitdiffstats
path: root/src/attributes.cpp
diff options
context:
space:
mode:
authorBryce Harrington <bryce@bryceharrington.org>2008-01-05 10:38:18 +0000
committerbryce <bryce@users.sourceforge.net>2008-01-05 10:38:18 +0000
commit512f06a80f013e903d513b6ffa069d48c6abbfaa (patch)
tree966213a353297141089cd8c080ede6ac6a4385e8 /src/attributes.cpp
parentFixing up a few more files (diff)
downloadinkscape-512f06a80f013e903d513b6ffa069d48c6abbfaa.tar.gz
inkscape-512f06a80f013e903d513b6ffa069d48c6abbfaa.zip
Applying Gail's patch for font-specification
(Closes LP: #169973) - New attribute in an object's style string called -inkscape-font-specification stores full font name - This will be useful when we can support fonts that don't fit into the confines of CSS (if either pango enhances their PangoFontDescription structure, or we can get around its limitations) - Framework in place to separate font families from their "styles" (faces) in the text and font dialog - need only the code that does the actual separation - Text and Styles dialog shows only fonts it can handle (bzr r4392)
Diffstat (limited to 'src/attributes.cpp')
-rw-r--r--src/attributes.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/attributes.cpp b/src/attributes.cpp
index 4169dee51..c00268b96 100644
--- a/src/attributes.cpp
+++ b/src/attributes.cpp
@@ -321,6 +321,7 @@ static SPStyleProp const props[] = {
{SP_ATTR_LAYOUT_OPTIONS,"inkscape:layoutOptions"},
/* CSS2 */
+ {SP_PROP_INKSCAPE_FONT_SPEC, "-inkscape-font-specification"},
/* Font */
{SP_PROP_FONT, "font"},
{SP_PROP_FONT_FAMILY, "font-family"},