Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    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
    twrightsman
    @twrightsman:matrix.org
    [m]
    Hello, is this a good place to ask a question about WeasyPrint rendering differently than Firefox?
    Lucie Anglade
    @grewn0uille
    Hello! Yes, you can ask :)
    twrightsman
    @twrightsman:matrix.org
    [m]
    Ok :) I will post my HTML and a screenshot of each
    Here is the HTML: https://0x0.st/oFQE.html
    And the first image is how Firefox renders it, which is how I'd like, but weasyprint seems to squish the children of the flexbox
    Lucie Anglade
    @grewn0uille
    Yes… Flexbox isn’t well supported in WeasyPrint :/
    twrightsman
    @twrightsman:matrix.org
    [m]
    Ah okay! I understand, let me see if my issue matches anyone elses, if not I could open another
    Lucie Anglade
    @grewn0uille
    Thanks :)