haikuarchives / bepdf Goto Github PK
View Code? Open in Web Editor NEWBePDF is a PDF viewer. Besides viewing, it supports annotating and user-defined bookmarking for unencrypted PDFs.
Home Page: https://haikuarchives.github.io/BePDF/
BePDF is a PDF viewer. Besides viewing, it supports annotating and user-defined bookmarking for unencrypted PDFs.
Home Page: https://haikuarchives.github.io/BePDF/
A PDF file with newly added annotations closes without asking. It would be better if it offered to save the file as a new one.
File->Open... and File->Open in new window (which look redundant) should only show last PDF docs. Also their icons are missing
For some reason right mouse selection feels slow. It was the same on BeOS so it's not a regression.
Selection mode in ShowImage doesn't feel slow.
Choosing "Find next" shouldn't open the find window, unless there isn't a search string from a former search. It should just jump to the next match in the text.
This is with 70c45e0 and bundled English.pdf.
Often, when adding a key text
annotation, the right side (head) of the key is cut off, due to the size of the annotation bounding box being too small. The rest of the key can be seen if the box is resized, but by default it is too small to show the entire graphic.
In addition, the text in the annotation system of BePDF
is difficult to use. If text with too big a font size is made into an annotation, the annotation is cut off. The resize box in the bottom-right of all annotations resizes with an "anchor corner" of the top-right, meaning the annotation scales downwards and leftwards, instead of downwards and rightwards, as intuitively expected. This also leads to annotations being cut-off; additionally, the resize box is extremely difficult to click.
The annotation images themselves are old 90's style BeOS
icons, and look quite pixelized when they are enlarged to be the annotation on the document, as opposed to an icon in the toolbar.
hrev48620
Also split bar should have reasonable max limit.
Not as easy as it appears to be. See also: #11
Also replace toolbar icons with ones from http://zumi.xoom.it/myhaiku/btoolbar/index.html
At large magnifications (at least), the find text tool is unable to find text that exists in a PDF (example: Only finding Alice
at the end of the pdf. There is no jump to found text, nor is the next instance of Alice
in a visible paragraph highlighted. The page of the find is also missing.
http://haiku-files.org/files/optional-packages/DemoPackage_Data-0.1-2012-02-19.zip
hrev48620
After browsing the search results of Find Text (by clicking on the Find button) is the page history list disabled - the two blue arrows don't work.
Reproducible with annotation toolbar enabled
The first one was done in 78bcb5a.
Creator: Kevin Field
URL: http://sourceforge.net/p/bepdf/bugs/4
I appreciate this feature in the sense that it's a bit safer, but on the other hand, I wouldn't have lost nearly as much work due to the crashing bug if I were able to keep with the typical habit of saving every minute or so, which this safety feature prevents. Maybe there's a best-of-both worlds where it can rename the current file to " (copy 2)" or whatever and then save with the original filename whenever you hit Alt+S? That would make this much more useful, and even safer, for marking up PDFs.
hrev45525 gcc4hybrid.
Open bundled English.pdf and take a look at hand cursor when it's above main window.
It looks like only ColumnListView is used from libsanta.
You need to move splitter for it to appear
Saving a file after annotations were added, those annotations aren't saved and are therefore missing when the file is opened again.
When a file with saved annotations is reloaded it reloads OK, but I get following error message: PDF file is damaged - attempting to reconstruct xref table
Creator: @mmadia
URL: http://sourceforge.net/p/bepdf/bugs/2
In BePDF-1.1.1b3-r1a2-x86-gcc2-2010-05-08.zip from Haiku r38809-gcc2hybrid, the following pdf causes an Error Messages window with "Error: Illegal entry in bfchar block in ToUnicode CMap" to appear. This does not result in a crash or any immediately noticeable visual hindrances to the content. http://www.newlaborforum.org/Portals/6/PDF_19_02A/On%20the%20Contrary-Jones.pdf
Closing the preferences window of BePDF results in the attached crash.
Culprit is the CountItems() in MakeEmpty() that is called from ClearView() of the prefs window.
Maybe there's no valid mList?
Broken by 98be13827a848625bb6819b376a6ddf4b59307d3.
Seeking to (atleast) a three-digit page in a PDF causes the page input box to be misplaced, and the text cut off. During entry of text, display is normal, but after seeking, the number is cut off at the second digit. This error remains for smaller pages, and is persistent across invocations of BePDF
.
hrev48620
The following annotation vector icons don't exist (yet):
ANNOT_LINK
ANNOT_LINE
ANNOT_STAMP
ANNOT_INK
ANNOT_POPUP
ANNOT_FILEATTACHMENT
ANNOT_SOUND
ANNOT_MOVIE
ANNOT_WIDGET
ANNOT_PRINTERMARK
ANNOT_TRAPNET
cc @humdingerb, in case he wants to try and tackle those
Creator: Kevin Field
URL: http://sourceforge.net/p/bepdf/bugs/3
The following crashes BePDF in Haiku during saving:
Following these steps exactly, simple3.pdf is actually saved with both comments, but it still crashes (case 1).
I had originally been marking up a PDF sent to me generated using Mac OS X 10.5.7 Quartz PDFContext when I first encountered this, but since then I have reproduced this using simple.pdf, which I generated using StyledEdit and the PDF Writer driver.
Trying with the PDF sent to me but following similar steps, I've had (also reproduceable) the unfortunate result that it produces a PDF but without my latest annotations (this is both if I immediately choose to save a debug report, or try to debug, save the debug report, and then tell the debugger to continue)--in fact, the file size is identical to the version just opened containing the first round of annotations. So I'm attaching that PDF too.
hrev45525 gcc4hybrid, with BePDF installed using installoptionalpackage.
Creator: Humdinger
URL: http://sourceforge.net/p/bepdf/bugs/1
This was originally reported by in Haiku's tracker at http://dev.haiku-os.org/ticket/4801.
After switching from fullscreen mode back to window mode, BePDF's window appears on all workspaces.
Related to bug found previously. When clicking the PDF, the image (which has horrible quality: maybe related to the error) in haikuwiki.pdf
causes WebPositive
to open, and also the error window that complains about the version of gcc
not being found. The bug occurs only when the image is clicked.
http://haiku-files.org/files/optional-packages/DemoPackage_Data-0.1-2012-02-19.zip
hrev48620
When a file is Saved As a status bar "Saving copy of PDF file:" appears but it shows nothing and stays there even when the new PDF is already created.
There are errors and inconsistencies in the title of the open file in BePDF
. Upon opening alice.pdf
, in ~/Desktop/DemoPackages/.../alice.pdf
, the file is believed to come from C:\ACTIVE\ADD\11B
(nonexistent). Subsequent files show either the PDF filename, title, or an incorrect path (E.g. C:\BAD\PATH
).
http://haiku-files.org/files/optional-packages/DemoPackage_Data-0.1-2012-02-19.zip
hrev48620
This isn't as easy as it sounds.
Update text strings to conform HIG.
When searching for text that isn't in the file, BePDF shows it appears on the last page.
It could also print some message that the text isn't there.
Find window should be converted to a search bar like it's done in Web+
The "docs" branch should probably be merged into the master branch.
We have the problem, that building the PDF versions of the user docs needs ghostscript, which isn't available for Haiku at this time. So currently we'd only have the HTML version. While it may be nice for a PDF viewer to have the doc as PDF, I think going HTML-only is OK.
I also find the separation of headers, footers and templates, and having a complicated script to build it all, is overkill. How about (in the future) we just do static HTML? We can keep the "docs" branch around if we ever want to go back the convoluted way...
I used pdflatex
(pdfTeX 3.14159265-2.6-1.40.16 (TeX Live 2015)) and the attachfile
package (like this) to generate a pdf file with attachments. LaTeX inserts annotations into the pdf for each file included. BePDF correctly picks up the fact that they are annotations for file attachment and actually gives the option to save the attachments, so it knows how to handle them. However, annotations are not shown in the attachments view.
test.pdf is the file I used to test this.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.