sumatrapdfreader / sumatrapdf

SumatraPDF reader
http://www.sumatrapdfreader.org
GNU General Public License v3.0
13.54k stars 1.72k forks source link

if the officials have considered building a plugin system? #3822

Closed xh542428798 closed 11 months ago

xh542428798 commented 11 months ago

Dear developers, SumatraPDF is truly an amazing software with unparalleled speed. After years of development, it has gained widespread recognition. However, it lacks features for annotations or other advanced PDF operations. I understand that the official intention is to maintain Sumatra's simplicity. I would like to ask if the officials have considered building a comprehensive plugin system, where additional functionalities can be created by other developers around the world. Sumatra would only need to provide a stable code framework, which would minimize the official workload in developing and maintaining SumatraPDF (even though constructing a plugin system can be complex, but it is worth). This approach would greatly expand the capabilities of Sumatra. What are your thoughts on this?

kjk commented 11 months ago

It wouldn't help.

You can already submit an improvement. It's just nobody does.

GitHubRulesOK commented 11 months ago

The "Normal" language related to PDF is EcmaScript (a variation of JavaScript) and you can see that in Acrobat - Chrome -Foxit -FireFox all of which can be exploited via that Language, thus Maintaining security consumes vast teams of programmers.

SumatraPDF can "Call" External Applications very easily for PDF (or other file processing) and many examples given for Rotate Page or Print as Image or send to Read Aloud etc. so really no need for internal programs to carry out such tasks even though SumatraPDF could do all those itself.

The nearest possibility is use MuTools JS functions but whilst very powerful they are not so simple to script.