Coder Social home page Coder Social logo

Comments (7)

kaede28 avatar kaede28 commented on September 16, 2024

I guess If we enforce the use of Noto Fonts we might get the desired results as you suggest.

We need to test it on different devices in order to confirm the hypothesis.

from momcode.

drhus avatar drhus commented on September 16, 2024

ok lets

from momcode.

kaede28 avatar kaede28 commented on September 16, 2024

I researched the issue and it seems this is a particular problem for iOS. Supposedly Chrome and Firefox work on Windows / Linux and Android.

I found a site that shows the character map of fonts: http://www.fontspace.com/google/noto-sans/38303/charmap. I checked the symbols on iOS Safari and the page seems to render properly.

The ideal solution would be to use SVG. As an alternative, I suggest you choose a subset of symbols that work on iOS. Other platforms should render properly.

from momcode.

drhus avatar drhus commented on September 16, 2024

The ideal solution would be to use SVG
it's not an option for test-lab unfortunately, the idea behind the test lab is that beta-testers/developer could easily create their own "Encoding Dictionary Proposal" and share that proposal with a link (View URL) so we can discuss the matter toward reaching a final set of characters (Encoding Dictionay) to be the default one.

it's only possible to have SVG when we have final Encoding Dictionary set.

I don't have iOS, so you confirm momcode.io/lab work smoothly with all characters appearing properly fron iOS and iPhone? I've tested it on android and unfortunately many tofu characters :/

from momcode.

drhus avatar drhus commented on September 16, 2024

I found a way around, Font Awesome 💡 while it doesn't support the Unicode as Unicode symbols but it does as Icon font support +4k symbols/icons as classes so the researcher/beta-tester could create his version of "Encoding Dictionary set"with FA classes (instead of Unicode symbols)

alternatives icon fonts to consider (non-support Unicode directly, but with a class name, symbols that often the common symbols we probably want constructing the encoder!)

both IcoMoon, Fontello which supports the creating of "custom" font with selected icons.. might be useful to have a lightweight font on a later stage

from momcode.

alexandrtovmach avatar alexandrtovmach commented on September 16, 2024

After big research I can summarize ― We can't fix tofu issue, at all.

My idea is create dictionary lists only based on 100% crossplatform symbols:
https://tutorialzine.com/2014/12/you-dont-need-icons-here-are-100-unicode-symbols-that-you-can-use
In addition to crossplatform unicode gliphs we can add icon-fonts, like Font Awesome (as you said).

Currently we should deprecate all symbols which are not crossplatformed or we can start using Font Awesome only.

But we should do this as soon as possible because we shouldn't give users/tester ability to create their own lists with not universal gliphs. We should choose approach now, because if we leave it for future it'll be hard to implement...

from momcode.

drhus avatar drhus commented on September 16, 2024

Hi @alexandrtovmach I think it's great we get to a conclusion that we can't fix tofu issue with a single font, and we can only, for now, use the alternative solution as FontAwsome (and/or other Icon Fonts)

that is' fear enough for now, I will make sure on instruction manual i'm creating on how to use for end-user to explain about this, further deprecate this functionality at the code level it would be enough to explicitly specify an Icon Font library to be used (as FontAwsome) on instruction manual ..

from momcode.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.