summaryrefslogtreecommitdiff
path: root/src/drivers/PostScript/Fl_PostScript.cxx
AgeCommit message (Collapse)Author
3 dayswip: forkmaxim nikonov
2024-10-07Make Pango-handled text accept legacy CP1252-encoded textManoloFLTK
2024-06-21Remove trailing whitespaceAlbrecht Schlosser
no code changes
2024-04-30Implement and document new class Fl_PDF_File_SurfaceManoloFLTK
2024-03-30Fix error in Fl_PostScript_File_Device::begin_page() under PangoManoloFLTK
This fixes the bug reported in fltk.general "Fl_Printer bug?"
2023-11-28Rearrange PostScript graphics driver code redundant with Cairo driverManoloFLTK
2023-04-23Replace internal fl_create_offscreen() calls by new Fl_Image_SurfaceManoloFLTK
2023-04-13Lower Pango required version from 1.22 to 1.16ManoloFLTK
2022-12-28Fix for Two compiler warnings (#615) - cont'dManoloFLTK
The Page_Format and Page_Layout enums have been conceived for them to be combinable into a single int value.
2022-12-28 Fix compiler warnings on Windows with mingw-w64 CMAKE_CXX_STANDARD=20 (#615)ManoloFLTK
2022-11-30Remove useless fl_matrix member variable of class Fl_Graphics_DriverManoloFLTK
2022-10-10Remove duplications between Fl_Graphics_Driver and derived classes.ManoloFLTK
2022-10-10Fix for issue #511: allow fl_circle() even without calls to ↵ManoloFLTK
fl_begin/end_loop/polygon().
2022-09-26Replace all calls to sprintf() by calls to snprintf().ManoloFLTK
2022-07-26Remove redundant Fl_PostScript_Graphics_Driver::color() under Pango.ManoloFLTK
2022-07-24Add Pango version check for Fl_PostScript_Graphics_DriverManoloFLTK
2022-07-24Add Fl_PostScript_File_Device::set_current() and end_current() members.ManoloFLTK
2022-07-20Change prototype of virtual Fl_Graphics_Driver::pango_font_description().ManoloFLTK
2022-07-18Fl_Cairo_Graphics_Driver: simpler way to construct the PangoLayout object.ManoloFLTK
2022-05-05Fl_Cairo_Graphics_Driver: simpler code with early calls to ↵ManoloFLTK
cairo_surface_destroy(). Add also replacement for pango_font_metrics_get_height() which requires Pango 1.44
2022-05-02Keep the PangoLayout member private in class Fl_Cairo_Graphics_Driver.ManoloFLTK
2022-03-23Remove vsscanf_l() call from Win32 driver (it appears to be a BSD-ism and ↵ian.macarthur
unsupported by the MS tools) and rename several clocale specific methods from "name" to "vname" since they take a va_list not a variable list of arguments.
2022-03-06Complete class Fl_Cairo_Graphics_Driver using Fl_Wayland_Graphics_DriverManoloFLTK
2022-01-16Rename FL/fl_string.h to FL/fl_string_functions.hAlbrecht Schlosser
This is part 1 of the final fix for a previous name clash on case insensitive file systems (fl_string.h vs. Fl_String.H).
2021-12-02PostScript output: initialise member variables in Fl_Cairo_Graphics_Driver ↵ManoloFLTK
constructor. Also, remove inadequate Fl_Surface_Device::push_current(this) call in Fl_Posix_Printer_Driver::begin_job().
2021-10-31Consistently make Fl_Paged_Device::begin_page call ↵ManoloFLTK
Fl_Surface_Device::push_current.
2021-03-26Remove X11-specific code from platform-independent Fl_PostScript.cxxManoloFLTK
2021-03-15Create class Fl_Cairo_Graphics_Driver.ManoloFLTK
That class is extracted from inside Fl_PostScript_Graphics_Driver and might become handy in the future.
2021-03-15Class Fl_PostScript_Graphics_Driver: better separation of what varies with ↵ManoloFLTK
USE_PANGO
2021-03-01Remove warnings about hidden virtual member functions.ManoloFLTK
2021-02-13Remove compilation warnings issued by Visual Studio 2019.ManoloFLTK
2020-11-17Fix whitespace and minor formatting issuesAlbrecht Schlosser
2020-11-01Add Fl_PostScript_File_Device::close_command(Fl_PostScript_Close_Command cmd)ManoloFLTK
Also expand Doxygen doc of class Fl_Printer for the X11 platform.
2020-10-28Pango ps (#148)ManoloFLTK
Use cairo-PostScript to output PostScript when pango is available. This allows to draw in vectorial form any script. Before, only the Latin script could be drawn to PostScript in vectorial form.
2020-08-01Implement + deploy fl_strdup()Greg Ercolano
2020-07-06Remove $Id$ tags, update URL's, and moreAlbrecht Schlosser
- remove obsolete svn '$Id$' tags from all source files - update .fl files and generated files accordingly - replace 'http://www.fltk.org' URL's with 'https://...' - replace bug report URL 'str.php' with 'bugs.php' - remove trailing whitespace - fix other whitespace errors flagged by Git - add and/or fix missing or wrong standard headers - convert tabs to spaces in all source files The only relevant code changes are in the fluid/ folder where some .fl files and other source files were used to generate the '$Id' headers and footers.
2020-06-27Add classes Fl_SVG_File_Surface and Fl_EPS_File_Surface to draw to SVG and EPS.ManoloFLTK
Test programs device and pixmap_browser use these new classes. Class Fl_SVG_File_Surface can be optionally made non functional using the --disable-svg configure option or turning off OPTION_USE_SVG in CMake. Class Fl_EPS_File_Surface can be optionally made non functional using the --disable-print configure option or turning off OPTION_PRINT_SUPPORT in CMake.
2020-04-22Add optional argument to Fl_Printer::begin_job() to inform caller when an ↵ManoloFLTK
error occurs. This solves an issue raised in fltk.general : Fl_Printer errors - how can I interpret them? https://www.fltk.org/newsgroups.php?s38419+gfltk.general+v38427
2020-04-10Give example of use of Fl_Native_File_Chooser::USE_FILTER_EXT option.ManoloFLTK
2020-04-05Update standard file headersManoloFLTK
2020-01-20Fix Fl_PostScript_Graphics_Driver::clip_box()Albrecht Schlosser
2020-01-15Fix uninitialized vars in calls to fl_clip_box() (issue #6)Albrecht Schlosser
The main fixes are only to avoid static code analyzer warnings reported in issue #5, but there are also minor bug fixes included. These bug fixes are more of theoretical concerns though. Close #6.
2019-04-09Fix for STR 3519: the PostScript graphics driver fails with some narrow ↵ManoloFLTK
unicode characters
2019-02-02STR #2714: remove new shadow lint for MacOSMatthias Melcher
2018-06-26Move Fl_System_Driver.H from FL/ to src/Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12976 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-23Doxygen only: fixed all block comments starting with an asterisk to ↵Matthias Melcher
space-only, fixed doxygen keywords prepended with @ to use a backward slash instead. No code was changed. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12970 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-23Doxygen: created Group to document drivers, disabled by defaultMatthias Melcher
Uncomment `ENABLED_SECTIONS += DriverDev` in documentation/Doxyfile.in to enable driver documentation. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12968 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-05-09Rename Fl_Paged_Device::start_job() to begin_job() and ↵Manolo Gouy
Fl_Paged_Device::start_page() to begin_page(). The new function names begin_job() and begin_page() better match end_job() and end_page() with which they must be used by pair. The old names start_job() and start_page() are maintained for API compatibility with FLTK 1.3.x git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12910 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-12-01Add --enable-print option to configure to allow building without print ↵Manolo Gouy
support on X11 platforms. Also, the NO_PRINT_SUPPORT preprocessor variable is renamed FL_NO_PRINT_SUPPORT. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12131 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-11-09Use Fl_Graphics_Driver::default_driver() when convenient.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@12088 ea41ed52-d2ee-0310-a9c1-e6b18d33e121