mirror of
https://github.com/servo/servo.git
synced 2025-08-09 15:35:34 +01:00
Add support for small-caps font-variant.
Ref: 2554.
This commit is contained in:
parent
6177a3bdcc
commit
0dd1b85739
7 changed files with 32 additions and 14 deletions
|
@ -634,7 +634,7 @@ impl DisplayItem {
|
|||
|
||||
render_context.font_ctx.get_render_font_from_template(
|
||||
&text.text_run.font_template,
|
||||
text.text_run.pt_size,
|
||||
text.text_run.actual_pt_size,
|
||||
render_context.opts.render_backend
|
||||
).borrow().draw_text_into_context(
|
||||
render_context,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue