Posts

Showing posts with the label Linux

How-to rebuild the libgdiplus library

Image
Sometimes it can be incorrect to display Unicode texts when saved in images or in PDF when running FastReport Open Source on Linux.  One of the most common problems is the error of hyphenation in a sentence and, as a result, the wrong interval between words. For example, when using the Thai language in Windows, we see this text: When running the same report in Linux Ubuntu you can see that the string is formatted incorrectly: There may also be problems with word wrap. Another example with the Thai language in the Windows operating system: The same text in the Linux operating system Ubuntu does not look correct: Similar errors may occur in other languages. Fortunately, there is a solution to the problem described above - building the libgdiplus library from sources with the with-pango key. Before you begin, it is strongly recommended to back up the /usr/lib/libgdiplus*.* files, as they will be overwritten with new files in the process. In this case you can return the system to its ...

How to create PDF on Raspberry PI with .NET Core 3.1

Image
Raspberry PI is a miniature single-board computer with ARM processor. This microcomputer is often used as an educational platform or for development of embedded solutions. For our experiments we use the Raspberry PI 3B board with 1GB of RAM and the installed Linux Raspbian Buster with desktop operating system. I will omit the installation and configuration of the system - we will assume that everything is already installed and working for you. Despite the tiny size, we are using a computer with powerful  capabilities. Let's try to install the .NET Core framework on it and write a simple C # application that will generate a PDF document. Firstly, we need to connect to the Raspberry via SSH or open the terminal application on the desktop if you connected the board to the monitors and keyboard. Of course, the board must be connected to the Internet to install the components we need.   The Raspbian operating system supports the execution of .NET Core applications for the ARM32 arc...