Evas font: Use proper enum value for extrabold 51/59251/2
authorYoungbok Shin <youngb.shin@samsung.com>
Thu, 11 Feb 2016 10:17:46 +0000 (10:17 +0000)
committerYoungbok Shin <youngb.shin@samsung.com>
Wed, 17 Feb 2016 08:23:02 +0000 (00:23 -0800)
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

Change-Id: I46ce936b5023f5f5f766c9faaac8c8bb8df4dd56

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}
 };