Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Rodion Borisov
    @vintprox:matrix.org
    [m]
    oh wait
    I forgot it's pythonic
    Guillaume Ayoub
    @liZe
    :)
    Rodion Borisov
    @vintprox:matrix.org
    [m]
    anyways, yeah, there would be less point in it if we don't have Form Fields first
    Guillaume Ayoub
    @liZe
    Form fields have been quite difficult to handle for a long time, but now that we use our own PDF generation background, it’s a bit easier to implement the feature
    Gordon George
    @llappall:matrix.org
    [m]
    Hi. We Saw some comments on ligatures, and a bug that wasn't. The bug showed ligatures in regular English text, but I don't think the ligatures work for Khmer. Is this known? Should I create a bug or something?
    Guillaume Ayoub
    @liZe
    @llappall:matrix.org Hello!
    You can share an HTML/CSS sample here or in an issue, as you want
    Guillaume Ayoub
    @liZe
    (You can also share the PDF you get)
    srt8driver
    @srt8driver:matrix.org
    [m]
    can weasy print be run as a lambda function? (AWS Lambda)
    srt8driver
    @srt8driver:matrix.org
    [m]
    thx I missed that in the docs
    jjsa
    @jjsa:matrix.org
    [m]
    I have an paragraph with 2 columns containing 2 images (the same size).
    Within the browser the images are places correctly. Weasyprint set these
    images not horizontalky but vertically.
    Is this bug known?
    Guillaume Ayoub
    @liZe
    @jjsa:matrix.org Hi! Could you please share your example?
    jjsa
    @jjsa:matrix.org
    [m]
    I Try to build an example, for github.com, the original code don't work, the actual example work well!
    jjsa
    @jjsa:matrix.org
    [m]
    I have found what is annying. The error appaired after I inserted an <h1> element but this can be anythings.
    I have send the test file, of course the picture are not uploaded, there sites are 800x533px.
    Lucie Anglade
    @grewn0uille
    Hello! Seems to be a bug in WeasyPrint. Can you please open an issue on GitHub?
    jjsa
    @jjsa:matrix.org
    [m]
    This is allready done. I have also reported an other bug concerning hyphenations. the browser work well weasyprint shall work better as now.
    Lucie Anglade
    @grewn0uille
    Great, thanks!
    jjsa
    @jjsa:matrix.org
    [m]
    Lucie, j'ais fait le nécessaire. Je m'excuse si cela a duré.
    jjsa
    @jjsa:matrix.org
    [m]
    Bonjour, j'ais intallés MacOS dans une machine virtuelle et installé weasyprint. Les consignes sur la documentation du site courtbouillon ne sont pas correctes, pip n'est pas pésent par contre pip3. L'installation de weasyprint peu également s'effectuée sans environement virtuel, ceci pirrair être mentionné.
    Guillaume Ayoub
    @liZe
    @jjsa:matrix.org Bonjour ! Nous avons mis pip3 à la place de pip dans la documentation.
    jjsa
    @jjsa:matrix.org
    [m]
    Merci!
    Guillaume Ayoub
    @liZe
    Pour l’installation, il est bien sûr possible d’installer WeasyPrint sans utiliser d’environnement virtuel, mais il est plus simple et moins risqué pour les débutants d’utiliser un environnement virtuel, c’est pour cela que nous avons mis cela en avant.
    jjsa
    @jjsa:matrix.org
    [m]
    OK
    Guillaume Ayoub
    @liZe
    Les utilisateurs avancés savent qu’ils peuvent installer sans environnement virtuel (ou avec d’autres méthodes).
    maxillirator
    @maxillirator:matrix.org
    [m]
    Question regarding WeasyPrint: I looking for a pdf generator which can add graphic with overlay text on the bottom of the last page (first page=last if only one page). So far I haven't found a solid solution. Can WeasyPrint do this?
    Guillaume Ayoub
    @liZe
    @maxillirator:matrix.org You could use an absolute block at the end of your HTML, it will be displayed only on the last page, where you want.
    maxillirator
    @maxillirator:matrix.org
    [m]
    Thanks for response, found a solution but don't think this would work. Absolut position breaks height calculations which could result in overwrite if I have flowing elements. I.e. unpredictability.
    Simon Sapin
    @simon:delire.party
    [m]
    Does anyone has some GUI software to recommend for windows, to split and concatenate PDF files at the page level? For someone not doing programming
    Guillaume Ayoub
    @liZe
    It’s possible to do a lot of things on PDF files with Libreoffice
    qreczek
    @qreczek:matrix.org
    [m]
    Hello, does anyone know what can cause Weasyprint to crash at building font dictionary?
    The HTML printed is simple, plain local HTML file with images and twitter embeds being the only non-standard stuff
    Guillaume Ayoub
    @liZe
    Hi @qreczek:matrix.org
    Your problem has already been reported and fixed, see Kozea/WeasyPrint#1718
    2 replies
    gw1120
    @gw1120:matrix.org
    [m]
    hi guys
    just wondering if weasyprint can have support for non page canvas based rendering?
    basically what we are doing is we use wkhtmltoimage to render html and print on roll paper receipt (80mm supermarket receipt)
    in this use case there is no frame in our rendering scenaro
    so I wonder if weasyprint can also support something similar to wkhtmltoimage on a virtual borderless canvas?
    Guillaume Ayoub
    @liZe
    Hi @gw1120:matrix.org
    If your goal is to get one canvas whose height depends on the content, WeasyPrint is probably not what you’re looking for: Kozea/WeasyPrint#193
    It may be possible to "hack" WeasyPrint to get what you want (some comments in this issue are quite creative), but to be honest it will be much easier to get what you want with a headless browser
    Castedo Ellerman
    @castedoellerman:matrix.org
    [m]
    hurrah! v57.1! thank you! that font stability issue was going to drive me crazy :-)
    Simon Sapin
    @simon:delire.party
    [m]
    hey @liZe, j’ai fait une fausse manip et dupliqué tout les événements dans mon radicale, tu sais si y’a moyen de dédupliquer plus facilement que un par un ?
    Simon Sapin
    @simon:delire.party
    [m]
    ah je vois que c’est des fichiers séparés, je peux filter par leur mtime
    Guillaume Ayoub
    @liZe
    :D