Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Support FontFeature('wght', x) #67688

Closed
Closed
@Solido

Description

@Solido

Use case

This feature is related to dart.ui, Flutter, Sky and google_fonts package.

Modern font support configuration of Font Weight without having to download different files.
dart.ui.FontWeight use static declarations from w100 to w900 by step of 100 so there is no way to benefits from those fine fonts.

Example : RobotoMono
https://fonts.google.com/specimen/Roboto+Mono?vfonly=true&category=Monospace

Proposal

Offer a more configurable FontWeight constructor.

Edit: Optionally this also apply to Italic with value 0 or 1

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projecta: typographyText rendering, possibly libtxtc: new featureNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to Flutterdependency: skiaSkia team may need to help usengineflutter/engine repository. See also e: labels.frameworkflutter/packages/flutter repository. See also f: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions