Coder Social home page Coder Social logo

sumatrapdfreader / sumatrapdf Goto Github PK

View Code? Open in Web Editor NEW
12.6K 309.0 1.6K 277.67 MB

SumatraPDF reader

Home Page: http://www.sumatrapdfreader.org

License: GNU General Public License v3.0

Perl 0.03% C 61.59% C++ 18.57% Makefile 1.46% Python 2.20% Shell 1.20% CMake 0.37% Assembly 12.57% JavaScript 0.14% Lua 0.10% C# 0.11% HTML 0.19% Batchfile 0.01% M4 0.31% Roff 0.26% Go 0.35% SAS 0.01% Pascal 0.31% Ada 0.14% DIGITAL Command Language 0.10%
pdf pdf-viewer win32 c-plus-plus c

sumatrapdf's People

Contributors

a1346054 avatar adoriandoran avatar amurzeau avatar aveminus avatar avorobey avatar bambooin avatar changlichun avatar dependabot[bot] avatar duderenderer avatar friedrich2 avatar ftk avatar gunjambi avatar gustaphe avatar kerryland avatar kjk avatar m-ht avatar matheusavellar avatar mattiwatti avatar pcrama avatar sambhare avatar sergeykalenyuk avatar shan-zhou avatar tamirevan avatar totalcaesar659 avatar twoepsilon avatar ultranity avatar userchefo avatar yongjieyongjie avatar zeniko avatar zhaohui0923 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sumatrapdf's Issues

Increase default/maximum tab size to at least 800 pixel.

My case looks like this, two (or more) documents opened which follow this naming style:
Long writer name - long series name - book title.pdf
Which appears as tab:
[Long artist name - long series n...X]
So I can't see which tab contains which document, making me switch around tabs more often than needed.
800 pixel looks to me like "big enough maximum tab size", but simply making the tab as large as possible would work too if that is simpler to implement.

Show font information in (PDF) file Properties window

pdffonts is a handy tool supplied in the Poppler library. It shows the information of all the fonts used in a PDF file: name, type, encoding, embeded or not etc.

Is it possible to use this in SumatraPDF to show font information as a separate tab in the document Properties dialog? It's always very useful to know which fonts and in what encoding are included in a PDF if for example you're trying to recreate it in HTML5+CSS3 for instance by using https://github.com/coolwanglu/pdf2htmlEX.

We don't remember file settings

This is a regression since 3.0

Repro:

  • open PDF file in tabs mode
  • change view settings
  • Ctrl-W to close
  • re-open the file

The change is not preserved as it should be.

/cc @zeniko - probably due to recent tab handling changes

Tab mode: allow multiple windows, moving tabs between windows

This only applies to tabs ui mode.

We need to implement drag&drop of tabs, with the following behavior:

  • dragging within tab bar works like today: re-arranges the tab order
  • dragging a tab to another sumatra window moves the tab to that window. By default as the last tab. As a bonus, if dropped on tab area, puts at the position where it was dropped
  • dragging a tab outside a window and dropping creates a new window with this tab as the first tab

As a bonus, when drag&drop is initated, the drag image is a thumbnail of the document.

When dragging out the last tab of the window, we close the window.

remove uninstall.exe

SumatraPDF.exe /uninstall should be equivalent to uninstall.exe and we don't need a separate uninstall.exe binary.

Steps:

  • accept /uninstall cmd-line arg in SumatraPDF.exe
  • copy SumatraPDF.exe to temp dir under a unique name (sm~inst.exe) and re-execute that binary with /uninstall flag
  • when run from temp dir, show uninstall UI (Uninstall.cpp)
  • do the uninstallation and try to remove yourself from temp dir

PgUp / PgDn / Home / End in the bookmarks sidebar

Is it intended that, when pressing PgUp / PgDn / Home / End while the bookmarks sidebar is focused, it is the bookmarks sidebar that is scrolled (and not the document)?

This is very annoying because the document does not always regain the focus (for example, you can scroll with the mouse wheel while the bookmarks sidebar is focused), and you press PgDn, and then you realize you just scrolled all the way down the bookmarks and opened the last one.

A Favorite / Bookmark for all open tabs?

Hi,
how can you save all open tabs into one Favorite / Bookmark?

The new tabbed view feature is really great.
When working on a specific subject it is very nice to have a bunch of relevant docs grouped together.

So naturally I am looking for a way to add a bookmark or favorite where the whole group of documents is contained.
This would allow me to easily switch between subjects e.g. "Gardening", "Dog care", "Programming".

This feature would be kind of equivalent to firefox "bookmark all open tabs", and "open all bookmarks in tabs". With the mayor difference to have just one bookmark / favorite for all open tabs.

This feature would complement the feature of reopening last used tabs.

Thank you for reading,
Axel.

Remember opened tabs

Don't know if this has been requested before (tried searching for it but didn't find anything).

It would be very useful if when closing a window with multiple tabs, sumatrapdf recorded which files were opened and upon restarting the application, sumatrapdf re-opened the last instance opened tabs (much like firefox "Show my windows and tabs from last time").

Print N-up from command line

Hi,
I use Sumatra PDF to print from command line a lot of pdf documents. I like to use Sumatra PDF because I can choose duplex short or long edge from command line, but now I also need to choose to print multiple pages on one (2-up or 4-up). Is it possible to do this in future versions?

Regards.

Remember Document position only by filename and not by path.

I often read .PDF's from zip/rared packages.
Each time I open the same PDF it has a different temporary path, so Sumatra PDF cannot remember the position I was on.
Solution would be:
Keep the history of reading positions only by using the file name, and not the path.
As an optimization: To distinguish between two documents which use the same name use the file size. I know, the PDF file size is not yet stored ; ).

(Created as suggested in http://forums.fofou.org/sumatrapdf/topic?id=3184549&comments=1 )

Show page number when hovering over page progress bar

Currently with EbookUI active when you click on the page progress bar there's no way to know exactly which page you'll land up on.

If the page number is shown in a small tooltip or something over the hovering 'hand' pointer that would make it a lot easier to jump to precisely the one required.

Try to add sub-pixel rendering

People occasionally ask for sub-pixel rendering.

I tried to add sub-pixel rendering by:

  • defining FT_CONFIG_OPTION_SUBPIXEL_RENDERING in sumatrapdf_ftoption.h
  • using FT_RENDER_MODE_LCD in mupdf calls to freetype's font rendering

However, on my test document there either was no change in text rendering or the change was too subtle for me to notice.

So this is just documenting my test for the future.

pdfium uses it (https://pdfium.googlesource.com/pdfium/+/06b087a3306a521db0d9d0a3e28c3ad0040c7055%5E%21/#F0) so maybe there's code to look at to figure out how they do it.

This is what I tried:

kjk@win7pro32 /cygdrive/c/kjk/src/sumatrapdf
$ git diff
diff --git a/ext/freetype2/config/sumatrapdf_ftoption.h b/ext/freetype2/config/sumatrapdf_ftoption.h
index 2ac2327..b2de079 100644
--- a/ext/freetype2/config/sumatrapdf_ftoption.h
+++ b/ext/freetype2/config/sumatrapdf_ftoption.h
@@ -21,6 +21,9 @@ FT_BEGIN_HEADER

 #define CFF_CONFIG_OPTION_OLD_ENGINE

+#undef FT_CONFIG_OPTION_SUBPIXEL_RENDERING
+#define FT_CONFIG_OPTION_SUBPIXEL_RENDERING
+
 #ifdef _DEBUG
 #define FT_DEBUG_LEVEL_ERROR
 #endif
diff --git a/mupdf/source/fitz/font.c b/mupdf/source/fitz/font.c
index bcb12ce..f1944d3 100755
--- a/mupdf/source/fitz/font.c
+++ b/mupdf/source/fitz/font.c
@@ -603,7 +603,7 @@ retry_unhinted:
                FT_Outline_Translate(&face->glyph->outline, -strength * 32, -strength * 32);
        }

-       fterr = FT_Render_Glyph(face->glyph, fz_aa_level(ctx) > 0 ? FT_RENDER_MODE_NORMAL : FT_RENDER_MODE_MONO);
+       fterr = FT_Render_Glyph(face->glyph, FT_RENDER_MODE_LCD);
        if (fterr)
        {
                fz_warn(ctx, "freetype render glyph (gid %d): %s", gid, ft_error_string(fterr));
@@ -756,7 +756,7 @@ do_render_ft_stroked_glyph(fz_context *ctx, fz_font *font, int gid, const fz_mat

        FT_Stroker_Done(stroker);

-       fterr = FT_Glyph_To_Bitmap(&glyph, fz_aa_level(ctx) > 0 ? FT_RENDER_MODE_NORMAL : FT_RENDER_MODE_MONO, 0, 1);
+       fterr = FT_Glyph_To_Bitmap(&glyph, FT_RENDER_MODE_LCD, 0, 1);
        if (fterr)
        {
                fz_warn(ctx, "FT_Glyph_To_Bitmap: %s", ft_error_string(fterr));

Exit confirmation

It would be useful to have an application exit confermation when there are multiple tabs open. Many times I closed all of them when I just wanted to close the active one!
This could also work with feature #28 so that one can close all the tabs but then reopen all of them at once.

Subscript tags in MOBI format

I write mathematical essays in which it is convenient to use subscripted variables in the equations. For this purpose, I usually use the form

N1

to express N with a subscript of 1. But the sumatrapdf reader displays subscripts like superscripts, so what I see is

N1

Which is wrong!

Again, if the HTML says

N12

which should be displayed as N with a subscript 1, squared, instead I see what appears to be N raised to the power of 12.

N12

Which is wrong!

So it would be nice if sumatrapdf would display superscripts as superscripts, and subscripts as subscripts in the EPUB and MOBI formats, which is what I most often use.

Add /analyze support in appveyor

Involves:

  • add another build step that runs with /analyze and outputs results to a file
  • run a python script to post-process the output file into a more human-readable form and save to a file (text? html?). This code is already in buildbot.py, just needs to be extracted
  • add the generated file as artifact so that it gets archived

Sumatra has font problem with fi in some documents

I get a font problem with certain pdf files recently. It does not occur with all of them, but is probably conditioned on the way the file was composed. However, e.g. this file:

http://faculty.wcas.northwestern.edu/~rsi665/Papers/incomplete_information.pdf

is ill-printed from SumatraPDF. There is no problem in viewing, but when printing all "fi" turn into some glyph. This error does not occur when printing it from other viewers (such as Adobe Reader, e.g.). It occurs on various types of printer types (in fact all I tried). It occurs with several other latex compiled pdf files, but not all.

I suspect a font issue. Is there a way to fix this?

Stops responding when going to specific nameddest

SumatraPDF crashes when the nameddest ABOUT is specified with the attached PDF.
I verified with the following command line:

start sumatrapdf -named-dest ABOUT "JetScribe 5.0 Manual.pdf"

SumatraPDF opens, starts the wait cursor, and stops responding.

The PDF is available here:

http://ge.tt/8XILmp52/v/0?c

I verified that the Acrobat Reader opens to the nameddest without problems:

start acrord32.exe /A nameddest=ABOUT "JetScribe 5.0 Manual.pdf"

works just fine.

support xfa forms

name is ray toth [email protected] i use this site https://myportal.supervalu.com its my job mio system to do thing like view paystub, when i go into it with user name and password job gave me and try to view my pay stub with Sumatra PDF tell me i dont have pdf reader from adobe version 7 or higher can you work on this i like to use sumatra pdf to view my pay stub with my jobs online thing thanks in firefox can you work on fixing this? so i can use it with that thanks so much ray toth [email protected]
other use love it thanks

Can't print to pdf

I installed SumatraPDF 3.0
Sumatra does not appear in the Print dialogue box as a printer, in either Firefox or Explorer. I need to use Internet Explorer to print a web page to pdf.
It did so when I was using a previous version of Sumatra, and I was able to print web pages to a pdf file.
As I understand it, when you install a pdf reader it is supposed to add an option to the print menu so you can print to it, but that didn't happen.
Is there a way to configure this with Windows? (I'm using Windows 8.1) Or should I try a previous version of Sumatra?

Add checkbox "Not wider than window"

In the view settings, add a checkbox "Not wider than window". When activated, SumatraPDF shall scale a document down to fit inside the window widthwise, should the window be slimmer than the document at the preset magnification.

This would be helpful on screens that are wide enough to fit a document inside at 100%, but can not fit two documents in side-by-side arrangement. In this case, the documents would be reduced to match their window's width.

This is similar to IrfanView's "Fit only big images to window" magnification option.

Linux version

Hi guys,

thanks for this awesome product. I changed to Linux and can't find a pdf reader which is as good as yours :/ Do you plan a Linux version? ;)

Finish up gyp

Things left to do:

  • add libmupdf.dll
  • PdfFilter.dll
  • add installer
  • sumatra with libmupdf.dll
  • tighten warnings (bump to /w4 and add necessary adjustments to each component)
  • figure out /analyze target
  • add 64bit (additional configuration or do we need a separate .sln?)
  • convert premake targets and remove premake files
  • fix guids for generated projects
  • -f ninja fails (on cygwin it complains about SYSTEMROOT, in dos throws
    KeyError: 'Release 64_x64')

windows 8 wallpaper colour dependancy

Tab colour is determined by wallpaper colour, with some wallpapers tab name becomes harder to read.
Should be independent like in browsers, where window colour is affected, but tabs are ok.

Modern toolbar icons

I think that an updated set of icons would make sumatra look significantly better.
I have taken the liberty to play around with some icons and update the bmp file which can be found on my forked repo (https://github.com/alexng8/sumatrapdf).
They look best on the 3.0 version. The 3.1 version seems to have the icons streched.

I've also uploaded a side by side comparison :
sumatra_pdf_minimalist_icons_comparison

I should mention that I am not a designer, and I got the icons from http://iconmonstr.com/. Here's their licencing policy : http://iconmonstr.com/license/

Planning 3.1 release

To me, we could release 3.1 if #18 or #19 (or both) are implemented. Those are the 2 most requested improvements.

when printing, the PDF page should be centered on the printer's page

The other day, I was trying to print a PDF (A4 document) on a printer (also A4). The PDF contained a scanned document (so each PDF page consisted of one big image). I wanted to print the document without any scaling. That was easy to configure in Sumatra.

However, the upper left corner of the PDF page (which contained some black marks, artifacts from scanning) was always positioned at the upper left corner of the rectangle that you obtain after substracting the printer margins from the page size. As a result, the contents of the PDF were moved a little bit to the right and to the bottom when printing. Also, at the right and the bottom side of the page, things were clipped (due to the printer margins) that would not have been clipped if the upper left corner of the PDF page would have been printing to the upper left corner of the physical paper.

Anyhow, Adobe Reader, by default, centeres anything on the page while printing. When printing at 100% (no scaling), the PDF contents would be clipped a little bit on the left, top, right, and bottom, but otherwise the result would be an exact copy of the PDF. I had to use Adobe Reader instead of Sumatra.

Please add a switch (or make it the default) to center all printed contents horizontally and vertically on the page - unless the user selects to scale the PDF contents to fit inside the printer margins, in which case Sumatra should probably center the content within the rectangle obtained by substracting the printer margins.

Find Function, Version 3.0

In a datasheet "PIC16F1788" I searched for "tcy" (The same with "Tcy"). I found about five entries, the first entry on page 411. With another PDF Reader I found 42 entries, the first on page 95.

Fix page flipping with touch

Some people complained about it in forums, I think.

Investigate the fix described at http://www.reddit.com/r/Surface/comments/2ete4q/recommended_desktop_pdf_reader_with_touch_support/

TLDR - Redefine GF_INERTIA in Touch.h to 0x00000000, build, and enjoy.
Or if you still take candy from strangers and just want a SumatraPDF executable that doesn't flip pages, get it here. **
The original problem with SumatraPDF is it watches for a Windows 'flick gesture' in the horizontal direction and flips the page whenever it sees one. For me, that's always been when I'm really just trying to pan side to side in a wide pdf.
This condition is defined in SumatraPDF.cpp [ver 2.4] or Canvas.cpp [ver 2.11]:
if ((gi.dwFlags & GF_INERTIA) && abs(deltaX) > abs(deltaY)) { annoy_user(); }
Setting GF_INERTIA to 0 will prevent this from ever happening.
Change this line in Touch.h
#define GF_INERTIA  0x00000002
to
#define GF_INERTIA  0x00000000

Incorrect rendering of PDF vector graphics when printed

I have an issue which is present in any Sumatra version with any printer and on any OS I have tested it (Windows XP and Windows 7).

The example vector graphics example1.pdf and example2.pdf are not printed correctly. Items are missing and textures are introduced which are not acceptable. I have illustrated this by a scan: after_printing.png; find all files at http://ge.tt/8Ipkv172.

Side facts:
(1) The PDFs are correctly printed with Adobe's Acrobat Reader.
(2) I could not find a printer setting in Sumatra which would have removed or changed the problem.
(3) Sumatra renders the graphics correctly on the monitor.
(4) The vector graphics were created with PStricks in Latex.

Bookmarks of PDF files expand randomly when opened the first time

When pdf files are opened the FIRST time or when "Remember opened files" is unchecked, the bookmarks expand randomly.

Test pdf file: http://www.tldp.org/LDP/abs/abs-guide.pdf

Bookmark expansion state differ depend on the order in which files are opened.
If "abs-guide.pdf" is the first file to open when sumatrapdf start up, then all bookmarks are collapsed.
If another pdf file is already opened in sumatrapdf when you open "abs-guide.pdf", then bookmarks are partially expanded.

Redesign menu in tab mode

The new menu in tab mode is a regression over regular menu in that it now takes more clicks to achieve actions.

The goal of redesign is to have the same functionality but with less clicks needed to achieve it.

Implementation-wise, it'll no longer be a menu, because it's too restrictive. It'll be a custom window that will behave like a pop-up.

Design-wise, a few ideas on how to achieve the goal:

  • use good ideas from Chrome:
    • use the main design of how it looks like
    • put multiple items (like zoom controls, view controls) in a more compact form, on one line
  • don't be afraid to use multiple columns. When users are looking at the menu, they are not looking at anything else, so we can use the whole space of the window to show the menu. See e.g. how amazon.com implements 2-level menus that don't require clicks to navigate
  • see if can remove some menu items by making the functionality available in a different way e.g. toolbar

TBD: the exact layout of the menu.

Find thread not cancelled properly causing memory over-write

This is not trivial to repro, but the basic procedure is:

  • use debug build
  • do a search over a largish PDF document
  • close the document (e.g. Ctrl-W) while the search is running

If you're lucky, you'll get: HEAP[sumatrapdf.exe]: HEAP: Free Heap block 7673e28 modified at 7673ee8 after it was freed

The variable that was modified after free was most likely PageTextCache on find thread (see below)

>dd 0x7673e28
0x07673E28  1804001c 00269357 07c70530 07a6a3f0  
0x07673E38  feeefeee feeefeee feeefeee feeefeee  
0x07673E48  feeefeee feeefeee feeefeee feeefeee  
0x07673E58  feeefeee feeefeee feeefeee feeefeee  

>dd 0x7673ee8
0x07673EE8  00000435 feeefeee feeefeee feeefeee  
0x07673EF8  feeefeee feeefeee feeefeee feeefeee  
0x07673F08  1e3382fe 1c269346 07572010 07674038  
0x07673F18  00e351a0 00000019 00000030 00000001  

UI thread that's crashing:

>kb
 Index  Function
--------------------------------------------------------------------------------
 1      ntdll.dll!_RtlpBreakPointHeap@4�()
 2      ntdll.dll!_RtlpCoalesceFreeBlocks@16�()
 3      ntdll.dll!@RtlpFreeHeap@16�()
 4      ntdll.dll!_RtlFreeHeap@12�()
 5      ntdll.dll!_RtlDebugFreeHeap@12�()
 6      ntdll.dll!@RtlpFreeHeap@16�()
 7      ntdll.dll!_RtlFreeHeap@12�()
 8      kernel32.dll!_HeapFree@12�()
 9      SumatraPDF.exe!_free_base(void * pBlock=0x07673dc8)
 10     SumatraPDF.exe!_free_dbg_nolock(void * pUserData=0x07673de8, int nBlockUse=1)
 11     SumatraPDF.exe!_free_dbg(void * pUserData=0x07673de8, int nBlockUse=1)
 12     SumatraPDF.exe!operator delete(void * pUserData=0x07673de8)
 13     SumatraPDF.exe!PageTextCache::`scalar deleting destructor'(unsigned int)
 14     SumatraPDF.exe!DisplayModel::~DisplayModel()
 15     [External Code]
 16     SumatraPDF.exe!TabInfo::~TabInfo()
 17     [External Code]
 18     SumatraPDF.exe!TabsOnCloseWindow(WindowInfo * win=0x001eac40)
 19     SumatraPDF.exe!CloseWindow(WindowInfo * win=0x001eac40, bool quitIfLast=false, bool forceClose=false)
*20     SumatraPDF.exe!CloseTab(WindowInfo * win=0x001eac40, bool quitIfLast=false)
 21     SumatraPDF.exe!FrameOnCommand(WindowInfo * win=0x001eac40, HWND__ * hwnd=0x001d02bc, unsigned int msg=273, unsigned int wParam=65937, long lParam=0)
 22     SumatraPDF.exe!WndProcFrame(HWND__ * hwnd=0x001d02bc, unsigned int msg=273, unsigned int wParam=65937, long lParam=0)
 23     [External Code]
 24     SumatraPDF.exe!WndProcFrameRateAssociated(HWND__ * hwnd=0x001d02bc, unsigned int msg=273, unsigned int wp=65937, long lp=0, unsigned int uIdSubclass=0, unsigned long dwRefData=2007424)
 25     [External Code]
 26     SumatraPDF.exe!RunMessageLoop()
 27     SumatraPDF.exe!WinMain(HINSTANCE__ * hInstance=0x009b0000, HINSTANCE__ * hPrevInstance=0x00000000, char * lpCmdLine=0x001b3062, int nCmdShow=10)
 28     [External Code]

Find thread is still going:

>kb
 Index  Function
--------------------------------------------------------------------------------
 1      [External Code]
 2      SumatraPDF.exe!ScopedCritSec::~ScopedCritSec()
*3      SumatraPDF.exe!PageTextCache::GetData(int pageNo=93, int * lenOut=0x07673ee8, geomutil::RectT<int> * * coordsOut=0x00000000)
 4      SumatraPDF.exe!TextSearch::FindStartingAtPage(int pageNo=93, ProgressUpdateUI * tracker=0x088d65c0)
 5      SumatraPDF.exe!TextSearch::FindNext(ProgressUpdateUI * tracker=0x088d65c0)
 6      SumatraPDF.exe!FindThread(void * data=0x088d65c0)
 7      [External Code]

Dotted line (created in InDesign) missing single dot

Hello, the Sumatra app is rendering dotted lines without a dot. Usually the second dot in the line. Zooming and scrolling show consistently that the same dot is always missing. The web renderer does not present the bug, and importing to Illustrator and Photoshop also do not present the bug.

Screens attached.

Enjoy ^_^

mainscreen

pdf

Sumatra (portable version 3.0) crash

(on 32-bit XP Home)

I had downloaded and then tried to open the PDF from the "Duo Footprint PDF" link, for a file named "duo_footprint_tech.pdf", on this webpage (it's architectural details about a home lift):
http://www.stiltz.co.uk/drawings.html

Sumatra opened and showed a big white empty page, then there was quite a long pause, then a message box saying it had crashed and suggesting I click 'Cancel' to help you (somehow). I clicked that but nothing else happened (though XP's Windows Explorer crashed immediately afterwards necessitating a reboot).

On reboot I found - by good luck - in %TEMP% (which I look in on each startup to clear out dross) a folder named "SumatraPDF-symbols". Do you need want me to zip this up, upload it somewhere and send you the URL?

epub, bookmarks link doesn't work

hi, the bookmark list of an epub file will be shown correctly but the bookmark link doesn't work! an example file is available on request, big thanks for your work, i really like sumatrapdf!

uwe

Diffrent print speed

Hi,
I've found out that sumatra 3.0 sends to printer nearly 2 times more data than sumatra 1.8 when printing the same document on the same printer, and what's more important, the old sumatra prints faster.
I've HP LaserJet 5100 printer which can shoot 15ppm. It's connected via 100Mbps ethernet so it is not a matter of connection.
When printing with Sumatra 3.0, printer stops after every page and wait for data. When printing with oldest software, there is nearly constant stream of printed pages, one-by-one.
It happens whenever I've to print 10 pages or 200 pages.

Best Regards,
sumsu

save list of opened documents

Hi,
is it possible to save list of open documents as a simple workspace file?
Is it possible to open documents from previously saved list?
When I'm working on project I need to crawl through 10-20 pdf files. When I'm switching between projects every time I must manually search and reopen all files I need.

Best Regards,
sumsu

No pages amount information

I opened this pdf file: http://ge.tt/9HJTDJ72/v/0 and in the toolbar I could only see which page I'm viewing without the information about the total amount of pages in this pdf. However when I switched to another tab and then got back to that pdf the amount of pages was displayed correctly. Unfortuantely (or fortunately) I couldn't reproduce this bug again. It happened only with this one pdf file.

Problems with synctex files

LaTeX users appreciate the capabilities of SumatraPDF as regards synchronisation between source file and the resulting .pdf, through .synctex files, which works fine. However, as these files are rather bulky, we have two possibilities:

  1. Store them, as the myriad of other auxiliary files generated by LaTeX and friends, in a .\TeXAux subdirectory of the working directory. This is very useful to easily find source documents in directories.

  2. Compress them to a .synctex.gz format.

The issue is that in either case , forward and inverse search do not work any more. Would it be possible to add these features: understanding synctex.gz files and looking for them in subdirectories of the working directory? All LaTeX users who work with SumatraPDF would really be very grateful.

Best regards,

Bernard Alfonsi

Font size x Screen resolution

Hello,

First, Thank you for this fast and small software. I'm using Sumatra mainly for ePub files.

I would like to suggest some kind of way to increase the font size. Maybe a window or simple control+ , control- and control 0 to change the size of the font. I am using a big screen with a resolution of 1920x1080 and for me, the font is small.

Thank you for your attention,
Meier

We leak search text entered in find text box

Dumping objects ->
C:\Users\kkowalczyk\src\sumatrapdf\src\utils\BaseUtil.h(74) : {49904} normal block at 0x04963640, 14 bytes long.
Data: 6D 00 61 00 73 00 74 00 65 00 72 00 00 00

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.