Open shafnaz opened 3 years ago
Hello, @shafnaz How are you?
Unfortunately, I am unable to work on it in the next few months.
This plugin was made many years ago, to generate PDF files for a Godot 2 project. Back then, plugin / extensions required recompiling the engine.
Nowadays, the plugin / extension format has greatly improved with GDNative. However, the code would need to be refactored to support it. What is(are) your target platform(s)?
Best regards, Franco
Hi @francogarcia , I'm great. Platforms for Android, IOS, Windows. I wouldn't know much about building a plugin version. Is that a lot of work?
Hello again, @shafnaz, How are you?
I am quite sure you can do it. It will take time and effort, though everything is doable with patience and persistence. At worst, it is a good learning experience.
libharu, the dependency I have used to build this plugin, has not changed since 2015, so it should be a matter of updating the implementation to the new GDNative format. Regardless, I am not sure if it supports Android and iPhone. I used it on a project for Linux and Windows.
As always, you should start from the documentation. Godot's documentation is very helpful.
For compiling the engine:
For plugins:
If you have some experience with command line interfaces, it is not difficult to compile Godot from source, as it includes all its dependencies. All it takes is fetching the source code from GitHub, install build dependencies (such as Scons), perhaps installing some development tools (such as compilers), and following the guides.
As for plugins, the difficult depends on the target platform.
Windows and Linux are straightforward if you know C++.
Android used to require the most effort, but it seems that has since improved. The API had previously changed around version 3.2.
You can find information here:
Finally, I have never worked with MacOS / iPhone, as I do not have either. It used to be possible to cross-compile from Linux to Mac with OSXCross (https://github.com/tpoechtrager/osxcross). I have done it once some years ago, as a build for a academic research project. According to Godot wiki, it seems to be (and to support iPhone as well, nowadays): https://docs.godotengine.org/en/latest/development/compiling/cross-compiling_for_ios_on_linux.html.
Nevertheless, if you plan to monetize your game, it would be wise to check if Apple allows the usage of cross-compilation.
Best regards, Franco
Hi francogarcia, I really want to use this pdf editor tool, but it's not easy for a beginner. Can you please provide a build?