Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Guillaume Ayoub
    @liZe
    Hello!
    Lucie Anglade
    @grewn0uille
    Hi!
    Guillaume Ayoub
    @liZe
    Hi!
    Simon Sapin
    @SimonSapin
    @liZe Le site a un formulaire + bouton "Become a sponsor" qui a tout l’air qu’il devrait être un lien
    Clic du milieu pour ouvrir dans un nouvel onglet ne marche pas du coup
    Guillaume Ayoub
    @liZe
    Ouais, bon, Lucie vient déjà de me le dire…
    Simon Sapin
    @SimonSapin
    :)
    "Master your PDF Creation" avec des photos bien léchées, ça en jette pour trois bouts de python qui écrivent des octets dans un fichier
    Guillaume Ayoub
    @liZe
    Oh, tu sais, au début WeasyPrint c’était trois bouts de Python qui parsaient vaguement du CSS et qui dessinaient des lettres et des traits
    Tout est possible, on sait pas où ça va nous mener :p
    Simon Sapin
    @SimonSapin
    Oui c’est juste rigolo d’avoir déjà du marketing bien stylé
    Guillaume Ayoub
    @liZe
    :)
    C’est gentil !
    Phoebus Giannopoulos
    @phoebusg
    Hi all, looking for some help properly implementing Pyphnen (for Greek)... any help/suggestions welcome.
    Phoebus Giannopoulos
    @phoebusg
    Pyphen*
    Guillaume Ayoub
    @liZe
    @phoebusg Hi!
    I’ve found this old OpenOffice.org that includes a Greek hyphenation dictionary https://extensions.openoffice.org/en/project/hellenic-greek-dictionary-spell-check-and-hyphenation
    The extension is an archive you can unzip, and you’ll find the hyph_el_GR.dic dictionary in it
    Guillaume Ayoub
    @liZe
    Oh, it’s actually already bundled in Pyphen
    It should just work out of the box
    >>> import pyphen
    >>> dic = pyphen.Pyphen(lang='el_GR')
    >>> dic.inserted('Φεγγάρι')
    'Φεγ-γάρι'
    Phoebus Giannopoulos
    @phoebusg
    It does yes, need to figure out how to implement it in restricted conditions, for example, figuring out how to make it only hyphenate at the right location, or when string is nearing the end of a sentence
    For example, word or sentence needs to be max 11 or 12 characters long, if the word is caught near this boundary, hyphenate before...
    Guillaume Ayoub
    @liZe
    I’m not sure that it will help, but here is how it is implemented in WeasyPrint
    It uses some of the rules defined in CSS https://www.w3.org/TR/2019/WD-css-text-4-20191113/#hyphenation
    Phoebus Giannopoulos
    @phoebusg
    Thank you, good to consider.
    Simon Sapin
    @SimonSapin
    Simon
    @simon:delire.party
    [m]
    Joshua Boyd
    @jd-boyd
    I was wondering if CourtBouillon is also taking over pygal?
    Lucie Anglade
    @grewn0uille
    Hello @jd-boyd! We are going to discuss this with Kozea and we’ll tell you
    Joshua Boyd
    @jd-boyd
    I am asking because I am interested in paying for some pygal development, possibly over 1000eur, if that would be a fair amount for what I want and if the features would be agreeable to be merged in master and have a release made.