Build 4.5.0.81 of xlsgen improves how rotated text is handled in rendering scenarios. Particularly this is an edge case that is fixed, where the rotate angle is very high (more than 45 degrees) and the room for rotating the text is small (cell has tight width and height).
It is a time to remind client and server applications using PDF output (one of our rendering outputs), that the quality of the rendering is slightly affected by the actual engine that is used. Notably,
- native PDF generation (vectors) [default engine]
C/C++ code |
// worksheet level workbook->PDFEngine = xlsgen::pdfengine_text; worksheet->Export->ExportAsPDF(L"output.pdf");
// workbook level workbook = engine->Open(L"input.xlsm", L"outputAllWorksheets.pdf"); workbook->PDFEngine = xlsgen::pdfengine_text; workbook->Close();
|
- GDI-based PDF generation (screen DPI resolution, usually 96 DPI)
C/C++ code |
// worksheet level workbook->PDFEngine = xlsgen::pdfengine_bitmap; worksheet->Export->ExportAsPDF(L"output.pdf");
// workbook level workbook = engine->Open(L"input.xlsm", L"outputAllWorksheets.pdf"); workbook->PDFEngine = xlsgen::pdfengine_bitmap; workbook->Close();
|
- GDI-based virtual PDF printing (printer DPI resolution, usually 600 DPI)
C/C++ code |
// worksheet level worksheet->PrintWith(L"PDFCreator", L""); // PDFCreator is a popular (and free) virtual PDF printer
// workbook level workbook = engine->Open(L"input.xlsm", L""); workbook->PrintWith(L"PDFCreator", L""); workbook->Close(); |