auto merge of #4660 : deokjinkim/servo/font_style, r=jdm

'oblique' font-style is not supported now.
When I checked freetype.h, same macro is used for italic and oblique.

  /*    FT_STYLE_FLAG_ITALIC ::                                            */
  /*      Indicates that a given face style is italic or oblique.          */

So, when font style is 'oblique', enable flag for italic.
With tests/html/test_italic_bold.html, it works well.
This commit is contained in:
bors-servo 2015-01-28 11:51:53 -07:00
commit c2076d707e
4 changed files with 44 additions and 1 deletions

View file

@ -26,6 +26,7 @@
# text_decoration_propagation_a.html text_decoration_propagation_b.html
# inline_text_align_a.html inline_text_align_b.html
== font_size.html font_size_ref.html
== font_style.html font_style_ref.html
== img_size_a.html img_size_b.html
== img_dynamic_remove.html img_dynamic_remove_ref.html
== upper_id_attr.html upper_id_attr_ref.html