Skip to content

Commit

Permalink
Extend documentation further and add tests (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurenzV authored Aug 31, 2024
1 parent 7a1ac60 commit 8402e18
Show file tree
Hide file tree
Showing 62 changed files with 1,118 additions and 837 deletions.
2 changes: 1 addition & 1 deletion assets/emojis.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
😀😃😄😁😆😅😂🤣🙃😉😌😍☹️😣😖😫😩🥶😱😨😰😥😓😴🤤👺🤡💩👻💀☠️🐶🐱🐭🐹🐑🦙🐐🪿🦩🕊🐇🦝🦨🦡🐉🐲🐦‍🔥🌵🎄🌲🌳🌴🪹🪺🪵🌱🌿☘️🍀🎍🪴🎋🍃🍂🍁🍄🍄‍🟫🐚🪨🌾💐🌷🪷🌹🥀🌺🌸🪻🌼🌻🌞🌝🌛🌜🌚🌕🌎🌍🌏🪐💫⭐️🌟✨⚡️☄️💥🔥🌪🌈☀️🌤⛅‍🟩🍌🍉🍇🍓🫐🍈🍒🍑🥭🍍🥥🥝🍅🍆🍤🍙🍚🍘🍰🎂🍮🍭🍬🍫🍿🍩🍪🌰🥜🍯🥛🍼🫖☕️🍵🧃🥤🧋🫙🍶⚽️🏀🏈⚾️🥎🎾🏐⛳️🪁🏹🎣
😀😃😄😁😆😅👺🤡💩👻💀🦩🌚🌕🌎🌍🌏🪐💫⭐️🌟✨⚡️☄️💥🔥🌪🌈🍒🍑🥭🍍🥥🥝🍅🍆🍤🍙🍚🍼🫖☕️🍵🧃🥤🧋⛳️🪁🏹🎣
Binary file modified assets/refs/apple_color_emoji.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/refs/mask_alpha_ghostscript.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/refs/mask_alpha_mupdf.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/refs/mask_alpha_pdfbox.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/refs/mask_alpha_pdfium.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/refs/mask_alpha_pdfjs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/refs/mask_alpha_poppler.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/refs/mask_alpha_quartz.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/refs/mask_luminosity_ghostscript.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/refs/mask_luminosity_mupdf.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/refs/mask_luminosity_pdfbox.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/refs/mask_luminosity_pdfium.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/refs/mask_luminosity_pdfjs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/refs/mask_luminosity_poppler.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/refs/mask_luminosity_quartz.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/refs/noto_color_emoji_cbdt.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/refs/noto_color_emoji_colr.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/refs/noto_sans_type3_glyphs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/refs/twitter_color_emoji.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
157 changes: 0 additions & 157 deletions assets/snapshots/annotation_simple.txt

This file was deleted.

121 changes: 121 additions & 0 deletions assets/snapshots/annotation_to_destination.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
%PDF-1.7
%AAAA

1 0 obj
<<
/Type /Catalog
/Pages 2 0 R
>>
endobj

2 0 obj
<<
/Type /Pages
/Count 2
/Kids [4 0 R 7 0 R]
>>
endobj

3 0 obj
<<
/Type /Annot
/Subtype /Link
/Rect [50 100 150 200]
/Border [0 0 0]
/Dest [7 0 R /XYZ 100 100 0]
>>
endobj

4 0 obj
<<
/Type /Page
/Resources <<
/ProcSet [/PDF /Text /ImageC /ImageB]
>>
/MediaBox [0 0 200 200]
/Parent 2 0 R
/Contents 5 0 R
/Annots [3 0 R]
>>
endobj

5 0 obj
<<
/Length 83
>>
stream
q
1 0 0 -1 0 200 cm
/DeviceRGB cs
1 0 0 scn
50 0 m
150 0 l
150 100 l
50 100 l
h
f
Q
endstream
endobj

6 0 obj
<<
/Type /Annot
/Subtype /Link
/Rect [50 0 150 100]
/Border [0 0 0]
/Dest [4 0 R /XYZ 0 200 0]
>>
endobj

7 0 obj
<<
/Type /Page
/Resources <<
/ProcSet [/PDF /Text /ImageC /ImageB]
>>
/MediaBox [0 0 200 200]
/Parent 2 0 R
/Contents 8 0 R
/Annots [6 0 R]
>>
endobj

8 0 obj
<<
/Length 87
>>
stream
q
1 0 0 -1 0 200 cm
/DeviceRGB cs
0 1 0 scn
50 100 m
150 100 l
150 200 l
50 200 l
h
f
Q
endstream
endobj

xref
0 9
0000000000 65535 f
0000000016 00000 n
0000000070 00000 n
0000000140 00000 n
0000000268 00000 n
0000000445 00000 n
0000000581 00000 n
0000000705 00000 n
0000000882 00000 n
trailer
<<
/Size 9
/Root 1 0 R
>>
startxref
1022
%%EOF
70 changes: 70 additions & 0 deletions assets/snapshots/annotation_to_link.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
%PDF-1.7
%AAAA

1 0 obj
<<
/Type /Catalog
/Pages 2 0 R
>>
endobj

2 0 obj
<<
/Type /Pages
/Count 1
/Kids [4 0 R]
>>
endobj

3 0 obj
<<
/Type /Annot
/Subtype /Link
/Rect [50 50 150 150]
/Border [0 0 0]
/A <<
/Type /Action
/S /URI
/URI (https://www.youtube.com)
>>
>>
endobj

4 0 obj
<<
/Type /Page
/Resources <<
/ProcSet [/PDF /Text /ImageC /ImageB]
>>
/MediaBox [0 0 200 200]
/Parent 2 0 R
/Contents 5 0 R
/Annots [3 0 R]
>>
endobj

5 0 obj
<<
/Length 0
>>
stream

endstream
endobj

xref
0 6
0000000000 65535 f
0000000016 00000 n
0000000070 00000 n
0000000134 00000 n
0000000308 00000 n
0000000485 00000 n
trailer
<<
/Size 6
/Root 1 0 R
>>
startxref
537
%%EOF
Loading

0 comments on commit 8402e18

Please sign in to comment.