diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2014-09-29 08:18:36 +0000 |
|---|---|---|
| committer | tavmjong-free <tavmjong@free.fr> | 2014-09-29 08:18:36 +0000 |
| commit | 371fbc7dd70b32541696c063485e2a30dcceac0d (patch) | |
| tree | 2d3a23e0b83229c3d6d3e53ddb51390884a241a5 /src | |
| parent | Conditionally add 'semilight' due to changes in Pango 1.36.6. Curse Behdad. (diff) | |
| download | inkscape-371fbc7dd70b32541696c063485e2a30dcceac0d.tar.gz inkscape-371fbc7dd70b32541696c063485e2a30dcceac0d.zip | |
Quick fix to unbreak build from last check in.
(bzr r13568)
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 |
