Evas font: Use proper enum value for extrabold
authorYoungbok Shin <youngb.shin@samsung.com>
Thu, 11 Feb 2016 10:17:46 +0000 (10:17 +0000)
committerTom Hacohen <tom@stosb.com>
Thu, 11 Feb 2016 10:17:46 +0000 (10:17 +0000)
Summary:
ULTRABOLD is identical to EXTRABOLD in freetype.
But, "extrabold" word is added for FC_WEIGHT_EXTRABOLD.
So, it has to be changed to use EXTRABOLD instead of
ULTRABOLD. It was mistake in my previous commit.
@fix

Test Plan: N/A

Reviewers: tasn, herdsman, woohyun

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D3673

src/lib/evas/canvas/evas_font_dir.c

index d357ce8..3e544de 100644 (file)
@@ -339,7 +339,7 @@ static Style_Map _style_weight_map[] =
      {"semibold", EVAS_FONT_WEIGHT_SEMIBOLD},
      {"bold", EVAS_FONT_WEIGHT_BOLD},
      {"ultrabold", EVAS_FONT_WEIGHT_ULTRABOLD},
-     {"extrabold", EVAS_FONT_WEIGHT_ULTRABOLD},
+     {"extrabold", EVAS_FONT_WEIGHT_EXTRABOLD},
      {"black", EVAS_FONT_WEIGHT_BLACK},
      {"extrablack", EVAS_FONT_WEIGHT_EXTRABLACK}
 };