Giter Club home page Giter Club logo

Comments (8)

andydotxyz avatar andydotxyz commented on May 3, 2024

I think the first issue you see is because copy-paste is not handled correctly, we need to look into that.

Unicode should be supported but bidirectional probably not - this will need work also. The unicode support should be correct in the default driver - but perhaps not with the new GL based one.

I need to look more into the compose key - I am not sure if it's an input or a display issue yet.
Thanks!

from fyne.

andydotxyz avatar andydotxyz commented on May 3, 2024

OK, I see now there is a lot to handle here.
Firstly, æ and ™ should now be working - they render correctly. Possibly there is still an issue with the compose key? If so can you please provide a test case or reproduction steps for someone with an English keyboard?

The non-english text issue is perhaps going to be complicated. I wonder if we can ship a better default font? Or is switching fonts the only "right" way to do this?

(the hebrew and arabic are not working with the replacement text handling)

from fyne.

andydotxyz avatar andydotxyz commented on May 3, 2024

I have a local patch that allows setting fonts, which is a thing we should do... but it brought more questions for me. When using a Hebrew font, for example, it does not contain the English text - which breaks the English display...

Does anyone know how we can "multiplex" these - to see if a font has a glyph and fallback (to builtin) if it does not?

from fyne.

andydotxyz avatar andydotxyz commented on May 3, 2024

Setting your language font using FYNE_FONT should now improve the situation.
It does not add RTL support but it should satisfy part 1 of this bug.
We will be able to make a better user experience by adding some fyne_config app in the future where fonts could be selected visually or language chosen etc...

Added in change 7d2d312

from fyne.

andydotxyz avatar andydotxyz commented on May 3, 2024

With the updated font handling I think we are getting closer.
Compose key is working on my Arch Linux system (Shift + Alt-Gr -> ~ -> a -> ã).
If it is not working for your system can you open a new issue with the details please?

I reckon that the contents of this are now either resolved or created in more specific issues.
I'm closing this so we can track the remaining work separately.

from fyne.

dtrehas avatar dtrehas commented on May 3, 2024

Ubuntu 20.10
Accented greek characters (greek keyboard,semi-colon+vowel) do not appear at all.
Thank you for your wonderful work.

from fyne.

andydotxyz avatar andydotxyz commented on May 3, 2024

It's possible the letters are not in our font, can you confirm which were not appearing.
If you paste them in instead of typing them does it work?

from fyne.

beneshed avatar beneshed commented on May 3, 2024

I was able to get Hebrew to work

https://github.com/thebenwaters/ynaboosh-desktop/blob/b9f8f81c1806e631dca17df62a1d41acb188dee7/pkg/internal/ynaboosh/institutions/cal.go#L33

Currently I load a custom font (Noto Hebrew) and then detect Hebrew with regex, and reverse runes, but if it's mixed with english, I haven't separated it out

from fyne.

Related Issues (20)

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.