Skip to content

Automated approach to maintaining glyphs #967

Closed

Description

@ghuntley

I'm submitting a...

  • Feature request

Current behavior

See #723 (comment)

Expected behavior

See #723 (comment)

Minimal reproduction of the problem with instructions

See #723 (comment)

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.

Environment

Nuget Package:

Package Version(s):

Affected platform(s):

  • iOS
  • Android
  • WebAssembly
  • Windows
  • Build tasks

Visual Studio

  • 2017 (version: )
  • 2019 (version: )
  • for Mac (version: )

Relevant plugins

  • Resharper (version: )

Activity

  1. added
    kind/enhancement
    help wanted
    platform/wasm 🌐
    platform/android 🤖
    platform/uwp 🪟
    platform/ios 🍎
    on May 28, 2019
  2. MartinZikmund commented on May 29, 2019

    @MartinZikmund
    Member
  3. FrancoisM commented on May 29, 2019

    @FrancoisM

    Why generate SVG from ttf if you can use ttf?
    Isn't SegMDL2.ttf sufficient? The list of available icons is here.

  4. MartinZikmund commented on May 29, 2019

    @MartinZikmund
    Member

    I think the problem here is that MDL2 is licensed - so if we must create a custom Uno font which will be ours, but not particularly different from Segoe MDL2 as well. Or get Microsoft to give us license to use it directly 😄

  5. FrancoisM commented on May 29, 2019

    @FrancoisM

    Where did you see it was licensed? I can't really find the info. And would that mean the only font is licenced or the icons are as well? If the icons are licensed you cannot use them even as svgs or in another font you'd create. 🤔

  6. MartinZikmund commented on Nov 4, 2019

    @MartinZikmund
    Member

    This looks like a very nice, Windowsy new open-source icon font - https://icons8.com/articles/line-awesome-icon-font/?ref=producthunt

    Are you a fan of Font Awesome, but want more variety? Meet Line Awesome, a free open-source icon font made from 1380+ modern line icons. It's ready to use in one line of code.
  7. kakone commented on Apr 19, 2020

    @kakone
    Contributor

    This looks like a very nice, Windowsy new open-source icon font - https://icons8.com/articles/line-awesome-icon-font/?ref=producthunt

    I like the appearance of these icons. I can try to do a new font with a mix of these icons and winjs icons (with correct positions). I had made a tool for that. It takes an xlsx file as input (that describes the source file and unicode of each icon, and the corresponding destination unicode), and it generates a new SVG font file.
    Here is a try with all SymbolIcon :
    unofont

    Icons8 Blog
    Are you a fan of Font Awesome, but want more variety? Meet Line Awesome, a free open-source icon font made from 1380+ modern line icons. It's ready to use in one line of code.
  8. MartinZikmund commented on Apr 19, 2020

    @MartinZikmund
    Member

    @kakone That sounds great! If you can do this, please match the icons with the Segoe MDL2 assets glyph positions (the winjs font currently in use has different positions than MDL2)

  9. kakone commented on Apr 24, 2020

    @kakone
    Contributor

    I did .ttf and .woff2 files by mixing winjs and Line Awesome icons, with the same glyph positions as Segoe MDL2. It is not ideal because a lot of icons are missing compared to Segoe MDL2 but it is much better than the winjs font (the list of the icons are in this .xlsx file).

  10. 12 remaining items

  11. removed this from the 3.1 milestone on Sep 28, 2020
  12. added
    difficulty/tbd
    on Feb 15, 2021
  13. added
    difficulty/medium 🤔
    and removed
    difficulty/tbd
    on May 31, 2021
  14. changed the title [-]automated approach to maintaining glyphs[/-] [+]Automated approach to maintaining glyphs[/+] on May 31, 2021
  15. self-assigned this
    on Sep 6, 2022
  16. MartinZikmund commented on May 23, 2024

    @MartinZikmund
    Member
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

    difficulty/medium 🤔help wantedkind/enhancementplatform/android 🤖platform/ios 🍎platform/uwp 🪟platform/wasm 🌐project/text 🔤

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions