summaryrefslogtreecommitdiff
path: root/src/drivers/PostScript
AgeCommit message (Collapse)Author
2023-11-28Rearrange PostScript graphics driver code redundant with Cairo driverManoloFLTK
2023-11-28Remove 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
2023-03-09Fix dependencies, typos, trailing whitespace, and formattingAlbrecht Schlosser
No code changes.
2022-12-30Use `FL_OVERRIDE` for all overridden virtual methods (#611)Matthias Melcher
FL_OVERRIDE is defined as `override` for C++11 and higher FL_OVERRIDE is defined as `override` for VisualC 2015 and newer Don't interfere with Fl_Widget::override()
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-08-20Remove FL_EXPORT qualifier from platform-specific class declarations.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-24Remove platform-dependent type Fl_Bitmask (not in documented public API).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-21Fix silly MSVC 2010 parser warningsAlbrecht Schlosser
Code like "void copy(const char */*stuff*/, ...)" would issue the warning "'*/' seen outside comment" which is formally true but ... These warnings don't appear with newer MS compilers, but I fixed them anyway.
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-09Remove compiler warnings about unused parameters (issue #307) - cont'dManoloFLTK
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-08-27Remove compiler warnings '-Wextra-semi' (see also PR #266)Albrecht Schlosser
I compiled with `-Wextra-semi -Werror=extra-semi` on Linux and Windows (cross-compiled on Linux) and removed all "extra semicolon" warnings I could find. I didn't check on macOS (yet). Note: Linux configured with and w/o Pango but not w/o Xft. Compilation with other options (e.g. Cairo) might still emit such warnings.
2021-05-26Fix trailing whitespace and formattingAlbrecht Schlosser
2021-03-26Remove X11-specific code from platform-independent Fl_PostScript.cxxManoloFLTK
2021-03-23Optimization for pixel loop.Greg Ercolano
As per erco's comments on fltk.coredev, Mar 21 2021 in thread Subject: Re: 1.4 build failing on OSX for me
2021-03-22Remove unused #include statementsAlbrecht Schlosser
Cairo is not used in this file, math.h is not necessary, and stdio.h is only required if USE_PANGO is false.
2021-03-22Add missing include file stdlib.h for abs(int)Albrecht Schlosser
This file was included (in math.h or elsewhere) on Linux and latest macOS versions but maybe not in earlier macOS versions or with other configuration options.
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-16Use <config.h> when appropriate.ManoloFLTK
2021-02-13Remove compilation warnings issued by Visual Studio 2019.ManoloFLTK
2020-11-17Fix whitespace and minor formatting issuesAlbrecht Schlosser
2020-11-10Remove useless typedef declaration.ManoloFLTK
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-30X11+GTK: remove warning when native file chooser runs on WaylandManoloFLTK
2020-10-29Fix PostScript driver for fl_draw_image(buf,X,Y,W,H,D,L) with negative D or LManoloFLTK
2020-10-29Cairo-based PostScript: fix image tilingManoloFLTK
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