Skip to content

Updated the CheckBox checkmark glyph in the font to match UWP - #723

Merged
ghuntley merged 7 commits into
unoplatform:masterfrom
MartinZikmund:dev/mazi/checkbox-ui
May 28, 2019
Merged

ghuntley merged 7 commits into
unoplatform:masterfrom
MartinZikmund:dev/mazi/checkbox-ui

Conversation

@MartinZikmund

@MartinZikmund MartinZikmund commented Mar 29, 2019 •

Copy link
Copy Markdown
Member

GitHub Issue (If applicable): -

PR Type

What kind of change does this PR introduce?

  • Feature

What is the current behavior?

The CheckBox checkmark is quite bold and does not match the UWP style.

What is the new behavior?

Replaced the glyph in the used winjs-symbols font with a custom checkmark that matches the UWP style very closely:

WASM:
WASM
iOS:
ios
Android:
droid

PR Checklist

Please check if your PR fulfills the following requirements:

Other information

The glyph replacement in the font was done using https://www.glyphrstudio.com/online/ . I can provide the Glyphr Studio project file if necessary.

Internal Issue (If applicable):

https://nventive.visualstudio.com/Umbrella/_workitems/edit/123118

@agneszitte agneszitte left a comment

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.

@jeromelaban & @MatFillion For the drop-down arrow glyph for example for the ComboBox (and other glyphs) we can do the same?

@MartinZikmund

Copy link
Copy Markdown
Member Author

@jeromelaban & @MatFillion For the drop-down arrow glyph for example for the ComboBox (and other glyphs) we can do the same?

We could, but I would vote for some automated approach - like maintaining a SVG file of used glyphs and completely ditch the winjs symbol font as it has different glyph positions as well as it no longer matches the new MDL2 symbols.

This will take more effort though, as there are quite a lot of glyphs and each must be remade manually. So it would make sense to maintain two fonts at first - the winjs as default and new "Uno MDL2 Assets" font winch we will slowly update with new glyphs as necessary.

It will also be easier as it was quite painful to replace the glyph in winjs font, whereas creating a new font from a glyph SVG file is quite simple and quick.

@agneszitte

Copy link
Copy Markdown
Member

@jeromelaban & @MatFillion For the drop-down arrow glyph for example for the ComboBox (and other glyphs) we can do the same?

We could, but I would vote for some automated approach - like maintaining a SVG file of used glyphs and completely ditch the winjs symbol font as it has different glyph positions as well as it no longer matches the new MDL2 symbols.

This will take more effort though, as there are quite a lot of glyphs and each must be remade manually. So it would make sense to maintain two fonts at first - the winjs as default and new "Uno MDL2 Assets" font winch we will slowly update with new glyphs as necessary.

It will also be easier as it was quite painful to replace the glyph in winjs font, whereas creating a new font from a glyph SVG file is quite simple and quick.

Yes I liked the idea! @jeromelaban and @MatFillion any additional thoughts about that ?

@MatFillion

MatFillion commented Apr 2, 2019 •

Copy link
Copy Markdown
Contributor

We probably want a custom font (based from winjs or not). The important point is to keep UWP styles working without modifications, so we don't want to specify a different fontfamily in default styles of combobox or checkbox for example. That being said, we can only have 1 font, no?

@MartinZikmund

Copy link
Copy Markdown
Member Author

We technically can have two fonts, but we will have to deploy them both (like a part of the template) until all the glyphs are "migrated" in the new font.

In addition to the glyphs looking a bit out of place in the winjs font the glyph Unicode codes are different from the Segoe MDL2 Assets font. So we really need a new custom font to make the templates match 1:1 with UWP.

@MartinZikmund

Copy link
Copy Markdown
Member Author

Any additional changes needed here :-) ? @agneszitte-nventive @jeromelaban

@ghuntley ghuntley added kind/enhancement New feature or request area/solution-templates Categorizes an issue or PR as relevant to the solution template area/samples and removed area/samples labels May 22, 2019
@ghuntley

Copy link
Copy Markdown
Member

/azp run

@MartinZikmund

Copy link
Copy Markdown
Member Author

This build failed, but the error does not appear to be caused by anything the PR touched, could you please try to re-run it?

@davidjohnoliver

Copy link
Copy Markdown
Contributor

/azp run

@ghuntley ghuntley mentioned this pull request May 28, 2019
4 of 9 tasks
@ghuntley

Copy link
Copy Markdown
Member

Have lifted the conversation regarding automating glyphs and moved it over to here #967 as an item on the backlog as help wanted.

@ghuntley

Copy link
Copy Markdown
Member

Thank you @MartinZikmund for this pull-request. We appreciate you and all that you do for Uno. Wanna jump on a video call sometime and do a virtual ☕ date? Pick a time over at https://ghuntley.com/meet

@ghuntley
ghuntley merged commit b134dc7 into unoplatform:master May 28, 2019
MartinZikmund pushed a commit that referenced this pull request Jan 12, 2025
kazo0 pushed a commit to kazo0/uno that referenced this pull request Mar 6, 2026
…ild-config

Don't build Skia.GTK/macOS heads for Android config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/solution-templates Categorizes an issue or PR as relevant to the solution template kind/enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants