Sitelet https://github.com/flutter/flutter/issues/112
Skip to content

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

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));

Activity

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

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions