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

Skip to content

Inform developer when a character is used that has no glyph in the available fonts #112

Closed
@FlutterIssues

Description

@FlutterIssues

Issue by cpu-chromium
Tuesday Jul 21, 2015 at 20:03 GMT
Originally opened as https://github.com/flutter/engine/issues/189


https://github.com/domokit/sky_engine/blob/master/sky/sdk/example/mine_digger/lib/main.dart

On Linux it shows the correct character, a flag; not so in android

new StyledText(elements : [Game.textStyles[5], '\u2691'])

However, u2600 works in android

new StyledText(elements : [Game.textStyles[3], '\u2600'])

This can be as simple as the default font not having that codepoint. In this case it would be good to have that pointed at develop time.

Note the text styles defined as:

textStyles.add(new TextStyle(color: const Color(0xFF555555), fontWeight: bold));
textStyles.add(new TextStyle(color: const Color(0xFF0094FF), fontWeight: bold));
textStyles.add(new TextStyle(color: const Color(0xFF13A023), fontWeight: bold));
textStyles.add(new TextStyle(color: const Color(0xFFDA1414), fontWeight: bold));
textStyles.add(new TextStyle(color: const Color(0xFF1E2347), fontWeight: bold));
textStyles.add(new TextStyle(color: const Color(0xFF7F0037), fontWeight: bold));
textStyles.add(new TextStyle(color: const Color(0xFFE93BE9), fontWeight: bold));

Metadata

Metadata

Assignees

No one assigned

    Labels

    c: new featureNothing broken; request for a new capabilityengineflutter/engine repository. See also e: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions