Skip to content

Defining fontBoundingBoxAscent/fontBoundingBoxDescent #5656

Closed

Description

@yiyix

I am trying to update the implementation note for the definition of fontBoundingBoxAscent and fontBoundingBoxDescent. After a discussion with dbaron@ and jfkthame@, I wrote the following:

The Implementations of fontBoundingBoxAscent fontBoundingBoxDescent are expected to be equivalent to that of "sTypoAscender" and "sTypoDescender" in OpenType Specification OS/2 table. If these are not available, implementations returns "ascender" and "descender" in hhea table.

ref: #5429

Could we confirm this is how is defined in CSS?

Thank you very much

Activity

  1. added
    topic: canvas
    on Jun 24, 2020
  2. annevk commented on Jun 24, 2020

    @annevk
    Member

    cc @dbaron @jfkthame @whatwg/css

  3. annevk commented on Jun 29, 2020

    @annevk
    Member

    This got resolved in #5429 after all. w3c/csswg-drafts#5266 ensures that it doesn't regress, so I think we can close this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: canvas

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions