CubePDF 4.0.0

CubePDF

CubePDF 3.0.0 has been released. The updates are as follows.

Workaround for corrupted PDF files

(2024-07-18) Currently, we have received several reports that an error message is displayed when trying to open a PDF file converted with CubePDF using PDF viewer. Since the problem has been solved by reverting to Ghostscript 10.2.1 in the cases we have received so far, we have prepared an installer that replaces Ghostscript 10.2.1 as a temporary workaround.

If you experience the same problem, please overwrite the installation with the above installer and try again.

Support for Windows Arm64

We are also working on supporting Windows Arm64 for the Cube series. CubePDF has been released as Arm64 edition in 3.0.0. In 4.0.0, the required framework has been changed from .NET 6.0 to .NET Framework 4.8 to simplify the installation. As a result, the .NET 6.0 desktop runtime is no longer required from 4.0.0.

For various reasons, the application side continues to be created as x86 edition (CubePDF virtual printer side is Arm64 native). In addition, if you receive an error message stating that the DLL 'gsdll32' cannot be loaded: The specified module cannot be found, please download and install the x86 edition of Microsoft Visual C++ Redistribution Package separately.

Updates on i18n Support

Since CubePDF version 1.0.0RC16, the GUI has supported English in addition to Japanese, leading to increased use by non-Japanese users. With user support, we have furthered multilingual support by adding German (since version 3.1.0) and Simplified Chinese (since version 4.0.0). In version 4.0.0, we made enhancements to facilitate future multilingual support more easily.

Procedure for Adding New Language Support

Here, we briefly describe the procedure for adding support for a new language in CubePDF. This process typically involves submitting a Pull Request (PR) to the CubePDF repository on GitHub. Languages that have already been supported can be found in the Applications/Converter/Main/Sources/Texts directory.

First, copy the English.cs file in the specified directory and rename it to the name of the language you want to support. For example, to support the ABC language, rename it to Abc.cs. Next, open Abc.cs in a text editor, change the class name from EnglishText to the name of the language (e.g., AbcText for ABC), and translate the English parts within the quotation marks on each line.

internal class AbcText() : Globalization.TextGroup(new()
{
    // Do not change the part inside nameof();
    // translate the parts inside the quotation marks on each line.
    { nameof(Text.General_Tab), "General" },
    { nameof(Text.General_Source), "Source" },
    { nameof(Text.General_Destination), "Destination" },
    { nameof(Text.General_Format), "Format" },
    { nameof(Text.General_Color), "Color" },
    { nameof(Text.General_Resolution), "Resolution" },
    // Continue similarly for other lines
});

Support for Simplified Chinese

As mentioned earlier, version 4.0.0 now supports Simplified Chinese. This was achieved thanks to a Pull Request by @wcxu21. We sincerely appreciate your support.

Improve method of determining initial file name

CubePDF determines the initial value of the converted file name based on the document name provided by the application that pressed the print button. 4.0.0 has been improved to avoid including the application name as much as possible when determining this initial value.

Other Updates

Other updates include:

  • Update Ghostscript to 10.3.1.
  • Update iText to 8.0.4.

For CubePDF users, please download the latest installer from Download Page and update by overwrite installation. The source code can be available from our repository on GitHub.