Skip to content

Add support for small-caps font-variant. - #3459

Merged
glennw merged 2 commits into
servo:masterfrom
glennw:small-caps
Sep 23, 2014
Merged

glennw merged 2 commits into
servo:masterfrom
glennw:small-caps

Conversation

@glennw

@glennw glennw commented Sep 23, 2014

Copy link
Copy Markdown
Member

Ref: #2554.

@hoppipolla-critic-bot

Copy link
Copy Markdown

Critic review: https://critic.hoppipolla.co.uk/r/2668

This is an external review system which you may optionally use for the code review of your pull request.

In order to help critic track your changes, please do not make in-place history rewrites (e.g. via git rebase -i or git commit --amend) when updating this pull request.

@glennw

glennw commented Sep 23, 2014

Copy link
Copy Markdown
Member Author

r? @pcwalton @larsbergstrom

Comment thread components/gfx/font_context.rs Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where does 0.7 come from? Maybe this should be a constant?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@glennw

glennw commented Sep 23, 2014

Copy link
Copy Markdown
Member Author

Real small caps is quite a bit more work - added a todo comment. The scale factor was what webkit uses - updated it to be a constant and use the same value Fx uses.

@pcwalton

Copy link
Copy Markdown
Contributor

r+

glennw added a commit that referenced this pull request Sep 23, 2014
Add support for small-caps font-variant.
@glennw
glennw merged commit 98222cf into servo:master Sep 23, 2014
@glennw
glennw deleted the small-caps branch September 23, 2014 23:49
@burg burg mentioned this pull request Aug 30, 2015
3 of 4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants