#pdfjs — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #pdfjs, aggregated by home.social.
-
According to https://github.com/mozilla/pdf.js/pull/21247, digital
signature verification was merged in PDF.jsReleases tend to be and the end of
the month, so this commit will be included in the release of the end of
July.Which Firefox version may include the feature is still unknown.
According to https://whattrainisitnow.com/calendar/, although version
154 wouldn’t be completely impossible, probably version 155 (due to
09.15.2026) would be a safer bet.(Pablo)
-
Ah bah #Mozilla a aussi mis de l'IA générative dans PDF.js dans #Firefox pour générer automatiquement des textes alternatifs aux images.
Quand on ouvre un pdf, il y a une option Paramètres du texte alternatif des images (image alt text settings) qui ouvre une fenêtre modale dans laquelle un bouton Supprimer qui supprime le modèle et désactive la fonctionnalité du même coup.
On peut vérifier dans about:config que les deux chaînes correspondantes sont à false (pdfjs.enableAltTextModelDownload et pdfjs.enableGuessAltText). -
PDF output separation preview
Dear #GIMP #INKSCAPE #SCRIBUS #TEX #LATEX and #PDF #opensource and #freesoftware lovers...
Do you know any #foss / #floss application that can preview output separation on a PDF file like Adobe Acrobat pro does?
I have been tried hard, even using javascript with #pdfjs but I couldn't find something very suitable for doing #prepress with opensource.
I am also ok with any #web applications.
Thanks... 🙏
-
:librewolf: #LibreWolf's obsession with preventing everything HTML canvas is gettin on my nerves... It even ruins pasting images into the built-in #PDFjs PDF viewer, but you only realize that AFTER you're done and open it in another viewer, to realize that the image is all f*cked up. 🙄
-
Pour cette deuxième journée du hackathon de @FIPHFP et #DINUM, le projet #PDFJS de @mozillaofficial @firefox est un des sujets permettant de contribuer
https://www.numerique.gouv.fr/agenda/hackathon-sur-laccessibilite-numerique-captchas-et-pdf-pour-tous/ -
Thomas Rinsma decided to abuse PDF field objects to render monochrome grid, and combine it with keystroke-entry in a text field to receive inputs – that’s how #PDFTris, a playable Tetris in a PDF file was born.
-
It's ridiculous how good #PDFjs is as a PDF viewer and even editor. I do like #Evince et al., but man is PDF.js better in many cases (for me):
- Umlauts/special characters in forms just work
- PDF opens instantly from this Samba server, in Evince takes ages to load
- can paste images into PDF (e.g. for 'signing' 🙃)
- can place free text
- etc.Feels like there should be a standalone PDF.js desktop app, but that'll just be a weird Electron app then I guess...
-
"CVE-2024-4367 – Arbitrary JavaScript execution in PDF.js"
https://codeanlabs.com/blog/research/cve-2024-4367-arbitrary-js-execution-in-pdf-js/
-
Kind of impressed at the quick bugfix turnaround I sometimes get when reporting issues in specific components of #Firefox ; this week, within the span of a few days, my report at https://bugzilla.mozilla.org/show_bug.cgi?id=1875547 led to this algorithmic #performance optimization in #PDFjs: https://github.com/mozilla/pdf.js/pull/17574
It's not yet multithreaded like what I was requesting in the bug report to begin with, but hey, any performance improvement is good to have.
-
I should have filed this #usability enhancement request in #PDFjs (used by #Firefox, #Chromium, #GNOMEWeb / #WebKitGTK, #NextCloud, etc.) years ago: the Print and Save buttons should show some labels in the toolbar when there is enough horizontal space to do so. It's a terribly confusing #UX for non-geeks to not make those prime actions obvious and explicit in a #PDF reader that sits between #browsers and the desktop. https://github.com/mozilla/pdf.js/issues/17569
-
Uh, apparently #KDE #Okular can't display alt text on images. Does it completely ignore it, or is it only read by screen readers?
For example, the following LaTeX code generates a PDF that contains an image with alt text:
```
\usepackage{pdfcomment}
\pdftooltip{\includegraphics{img.png}}{This is the ALT text}%
```
(Source: https://tex.stackexchange.com/questions/75102/need-alt-text-for-images-in-pdf-for-screen-readers) -
-
set "pdfjs.viewerCssTheme" to 2 to force #darkmode
https://github.com/mozilla/pdf.js/issues/12290#issuecomment-763739702