Skip to content

Commit

Permalink
Update PDFium
Browse files Browse the repository at this point in the history
  • Loading branch information
hyzyla committed Sep 1, 2023
1 parent 51d2f0f commit 3192792
Show file tree
Hide file tree
Showing 3 changed files with 115 additions and 114 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/update-pdfium.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ name: Check for new PDFium releases
# # This will run at 00:00 every Saturday
# - cron: '0 0 * * 6'

on: workflow_dispatch
# on: workflow_dispatch
on: [push]

jobs:
check-for-updates:
Expand Down
6 changes: 3 additions & 3 deletions src/vendor/pdfium.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ declare type PDFium = {
height: number,
format: number,
ptr: number,
stride: number
stride: number,
) => any;
_FPDFBitmap_FillRect: (
bitmap: any,
left: number,
top: number,
width: number,
height: number,
color: number
color: number,
) => void;
_FPDF_RenderPageBitmap: (
bitmap: any,
Expand All @@ -31,7 +31,7 @@ declare type PDFium = {
size_x: number,
size_y: number,
rotate: number,
flags: number
flags: number,
) => void;
_FPDFBitmap_Destroy: (bitmap: any) => void;
asm: {
Expand Down
Loading

0 comments on commit 3192792

Please sign in to comment.