Coder Social home page Coder Social logo

auto_hyphenating_text's People

Contributors

impure avatar knaeckekami avatar zaidrazanarsinh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

auto_hyphenating_text's Issues

Feature: selectable text

it would be very nice if their is an option to enable the selectable text feature of flutter, i am using selectableText widget everywhere in my code and now i need also hyphenation and right now i am not able to use it bothe together.

Text align problem.

puts hyphen where they shouldn't and textalign.justify doesn't work.
Have a nice day! Thanx

Custom separator

Currently, the only separator string is U+2010 dash "‐", in my case this is causing problems specifically with Poppins font.

Screenshot 2023-05-16 at 13 07 48

It's rendered at the bottom of the characters, I've tried regular dash "-", and that works properly, issue here is U+2010 dash "‐".
I would suggest having a way to pass whatever separator string/char we want as a separator, and maybe changing the default one to regular dash, and not U+2010 dash.

Take soft hypens into consideration

SHOULD:
Given a String with \u00ad, e.g. 'Stromeinspeis\u00adzähler' I expect that the break happens at the defined position.

IS:
Stromein-speiszähler
photo_2023-11-04 20 16 49

Duplicate hyphen for words that already include a hyphen

Hello,
first of all, thanks for the great work you did with this package.
I'm using the de1996 hyphenation and it's producing duplicate hyphens when the string already has one hyphen inside a word. Is there a way to prevent this?

Duplicate hyphen

Package version: 0.0.4
Flutter version: 3.3.10

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.