diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2014-09-29 08:23:07 +0000 |
|---|---|---|
| committer | tavmjong-free <tavmjong@free.fr> | 2014-09-29 08:23:07 +0000 |
| commit | 3bce99a52028adbf65309cba67a489e90ec76311 (patch) | |
| tree | 49e4c424dd9c6622d69dd93ba65073662e445358 /src | |
| parent | Conditionally add 'semilight' due to changes in Pango 1.36.6. (diff) | |
| download | inkscape-3bce99a52028adbf65309cba67a489e90ec76311.tar.gz inkscape-3bce99a52028adbf65309cba67a489e90ec76311.zip | |
Quick fix to unbreak build from last check in.
(bzr r13341.1.232)
Diffstat (limited to 'src')
| -rw-r--r-- | src/libnrtype/nr-type-pos-def.cpp | 4 | ||||
| -rw-r--r-- | src/libnrtype/nr-type-pos-def.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/libnrtype/nr-type-pos-def.cpp b/src/libnrtype/nr-type-pos-def.cpp index fef04039e..ff633d5f1 100644 --- a/src/libnrtype/nr-type-pos-def.cpp +++ b/src/libnrtype/nr-type-pos-def.cpp @@ -46,6 +46,10 @@ parse_name_for_weight (char const *cc) weight = NR_POS_WEIGHT_ULTRA_LIGHT; } else if (strstr (c, "light")) { weight = NR_POS_WEIGHT_LIGHT; + } else if (strstr (c, "semi light")) { + weight = NR_POS_WEIGHT_SEMILIGHT; + } else if (strstr (c, "semilight")) { + weight = NR_POS_WEIGHT_SEMILIGHT; } else if (strstr (c, "book")) { weight = NR_POS_WEIGHT_BOOK; } else if (strstr (c, "medium")) { diff --git a/src/libnrtype/nr-type-pos-def.h b/src/libnrtype/nr-type-pos-def.h index ab9f5b45c..d4d412b21 100644 --- a/src/libnrtype/nr-type-pos-def.h +++ b/src/libnrtype/nr-type-pos-def.h @@ -9,6 +9,7 @@ #define NR_POS_WEIGHT_EXTRA_LIGHT 64 #define NR_POS_WEIGHT_ULTRA_LIGHT 64 #define NR_POS_WEIGHT_LIGHT 96 +#define NR_POS_WEIGHT_SEMILIGHT 96 #define NR_POS_WEIGHT_BOOK 128 #define NR_POS_WEIGHT_NORMAL 128 #define NR_POS_WEIGHT_MEDIUM 144 |
