summaryrefslogtreecommitdiff
path: root/main
AgeCommit message (Collapse)AuthorFilesLines
2012-04-20Default to Windows UNICODE file names "off".Chris Liddell1-1/+9
Bring the PCL build in-line with Ghostscript so that the halding of UNICODE file names is disabled in the default build. As with Ghostscript, adding "USEUNICODE=1" to the nmake parameters will enable that code. CLUSTER_UNTESTED
2012-02-12PCL shared library build for unix.Henry Stiles1-2/+17
2012-01-11Adds the bbox device.Henry Stiles2-2/+3
2011-12-22Add the txtwrite device to PCL and language switch and supply a methodKen Sharp2-2/+2
for get_page_device in txtwrite (prevents SEGV)
2011-09-05Add Memento configuration to Visual Studio projects (and gs makefile)Robin Watts1-0/+42
When swapping between memento and non-memento builds, a complete rebuild is required due to the pervasive nature of the memento defines. As such it makes sense to have it as a separate configuration in the project. Memento directories are named 'memobj', 'memobj64', 'membin' etc in keeping with 'debugobj', and 'profobj' etc. Also, take the opportunity to fix a couple of small things in the visual studio files. Firstly, the 64 bit profile build targets were incorrect (weren't setting paths etc). Secondly, we remove the use of nmake /A for the rebuild step, and instead rely on an explicit clean call, then a rebuild; this means we get consistent results for a rebuild compared to a clean then a build. As part of this work, we add logic to the (MSVC) makefiles to detect MEMENTO=1 and PROFILE=1. If set, these change the default DEBUG, TDEBUG and DEBUGSYM flags as appropriate, and change the default output directory names. This keeps the invocations from Visual Studio sane (as I found lots of mistakes in them as I looked through). Also fix some places where we were failing to set and pass on BINDIR/PSOBJDIR resulting in stray directories being created. CLUSTER_UNTESTED
2011-08-16Missed a couple of files that should have been changed as part of the ↵Marcos H. Woehrmann2-12/+2
previous commit.
2011-07-28Restore X11 device to the default unix device.Henry Stiles1-2/+2
In setting up autoconf to detect X11 (9b7298f) the X11 devices were not put back at the beginning of the device list and so were no longer the default device.
2011-07-15Autoconf changes for X11 and threads.Henry Stiles1-33/+4
2011-06-27Add planar device to the Windows build.Henry Stiles1-0/+1
2011-06-24Fix 'aux' cluster breakages. Move aux into obj.Robin Watts2-7/+3
Move aux directories into the appropriate obj directories. Makes cleaning easier, and is neater overall. Also fix some unrelated problems with cleaning in the msvc builds.
2011-06-23Cross compilation (AUX) changes to ghostscript and ghostpdl.Robin Watts2-0/+10
Introduce a new 'aux' directory and appropriate defines to allow easier cross-compilation of gs/ghostpdl.
2011-06-17Enable plan devices in non-windows builds.Robin Watts1-0/+1
No cluster differences expected.
2011-06-08Tweaks to windows makefiles.Robin Watts1-0/+10
Eliminate some noise during windows builds. Thanks to Norbert Janssen for this. CLUSTER_UNTESTED
2011-05-09Incorporate raster operation library into the core graphics library.Henry Stiles2-2/+1
We were going to fold the roblib in for simplicity, more recently the graphics library code has been refactored such that the raster op library is always required. For example operations previously done in the copy_mono code are now done with the raster op code. CLUSTER_UNTESTED
2011-04-22Extend downscaling to png devices too (from tiffscaled).Robin Watts2-2/+2
Extract the code to do downscaling/min feature size from tiffscaled{,8,24} into a new gx_downscaler class. Make tiffscaled{,8,24} call this new class with no change in functionality. Make png devices call this new code. Only png16m and pnggray are actually affected by downscaling though. Add a new pngmonod device to do grayscale rendering internally and to downscale/min_feature_size/error diffuse to monochrome.
2011-04-20New tiffscaled8 and tiffscaled24 devices.Robin Watts2-2/+4
Add new tiffscaled8 and tiffscaled24 devices, copied and modified from tiffscaled. These output greyscale and 24bit rgb instead of tiffscaleds mono output. MinFeatureSize is ignored for these devices as it's meaningless for contone output. Error Diffusion is still done, but is almost certainly a waste of time - it was just simpler to make the code work this way. If performance is an issue, we can remove that later.
2011-04-01Initial import of LittleCMS v2.1 into the Ghostscript/GhostPDLRobin Watts2-0/+8
build, with simple integration. LittleCMS version 1 is still used by default, so no cluster differences expected. The version of little cms imported was taken from the lcms git repository, commit 314bc7201d340ab303b36a0ade2c37cf40b83a3b, and then a couple of small tweaks were applied: * lcms2 currently offers no way to get the input/output format for a transform, so I add 2 functions (cmsGetTransformInputFormat and cmsGetTransformOutputFormat) to do this. * lcms2 currently offers no easy way to redirect malloc/free operations away from it's internal implementation, so we add a define (LCMS_USER_ALLOC) to allow us to be able to define our own functions. This mirrors the work done in lcms1 by Michael, I believe. The choice of which version of lcms to build with is made by the WHICH_CMS define option in the makefile. Currently this is set to lcms by default, but can be changed to lcms2 to allow lcms2 to be used instead. To make this work, various small tweaks have been required. Firstly, we rename gsicc_littlecms.h to gsicc_cms.h, reflecting the fact that this is not littlecms specific - rather, it defines the interface that any cms would have to provide in order to work with Ghostscript/GhostPDL. Secondly, we rename gsicc_littlecms.c to gsicc_lcms.c to make the makefile macros easier. We add a gsicc_lcms2.c file (derived from copying and editing gsicc_lcms.c) that interfaces with lcms2. Currently lcms2 builds and appears to run without crashing, but gives differing results in some cases. This will need to be solved before we can swap over to using lcms2 by default. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12340 a1074d23-0009-0410-80fe-cf8c14f379e6
2011-03-24Resolve build issues with language_switch and UFST.Chris Liddell1-0/+2
I had (wrongly) assumed that the PCL/language_switch builds with UFST and COMPILE_INITS=1 would have the relevant paths correctly setup for the PS/PDF world to access the Microtype FCOs. It turns out they are done in an incompatible manner. So, I've renamed the path variables (in the makefiles) so there isn't a clash between PCL and PS/PDF, ensured that the variables are correctly passed through recursive (n)make calls, and tidied up the FAPI options for the language_switch build. Not only does this allow language_switch to build with the UFST, but the Postscript interpreter does now use FAPI/UFST to access the Microtype fonts for the built-in fonts, and uses FAPI/Freetype for downloaded fonts. Bug 692093 No cluster differences expected. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12308 a1074d23-0009-0410-80fe-cf8c14f379e6
2011-03-03Enable pamcmyk32 and pamcmyk4 devices for pcl. We're building them in anywayRobin Watts2-0/+2
as they are defined in the same files as ppmraw etc, so we might as well activate them. No cluster changes expected as these devices aren't tested. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12235 a1074d23-0009-0410-80fe-cf8c14f379e6
2011-03-01Modified to only configure what was previously configured in the pclHenry Stiles1-1/+1
makefile. For some reason, as yet unexplored, the 64 bit I/O routine configuration definitions break the build on some systems. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12222 a1074d23-0009-0410-80fe-cf8c14f379e6
2011-03-01Add a basic auto configuration template for PCL, XPS, and the languageHenry Stiles1-10/+5
switch build. It is a bit unconventional - autoconf generates config.mak (not Makefile) which is then included by pcl6_gcc.mak. Only a few configuration options have been moved to autoconf so far, we'll do this incrementally. The generated file config.mak is included in this commit for backward compatibility with using only make without configuration tools. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12219 a1074d23-0009-0410-80fe-cf8c14f379e6
2011-02-14Force HAVE_SSE2 define on for MSVC builds as well.Robin Watts1-1/+6
No cluster differences expected. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12152 a1074d23-0009-0410-80fe-cf8c14f379e6
2011-02-14Force HAVE_SSE2 define on for all GhostPDL builds. This is a short termRobin Watts1-1/+6
measure until we get some AutoConf magic in. For builds for old x86 machines (or non x86 machines) add HAVE_SSE2_DEFINE="" to your make invocation. No differences expected. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12151 a1074d23-0009-0410-80fe-cf8c14f379e6
2011-01-24More changes for the display device on Windows PCL6. Fixes a minor error in theKen Sharp2-5/+5
non-Windows makefile. Makes the display device first in the list of devices on Windows. Corrects a problem where actually selecting the display device (-sDEVICE=display) failed to initialise the device properly. Added the 'radix number' (eg 16#1234) as a format for integer values in the PCL parameter processing, as the display device examples use it. Fixed some minor long-standing compiler warnings which were suddenly being flagged as new. No differences expected. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12052 a1074d23-0009-0410-80fe-cf8c14f379e6
2011-01-22Fix the makefile changes for Windows display device on PCL6 when built on ↵Ken Sharp2-3/+8
Windows. This should now build on both Windows and non-Windows platforms. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12048 a1074d23-0009-0410-80fe-cf8c14f379e6
2011-01-21Revert recent non-Windows PCL makefile changes which caused build failures.Ken Sharp1-7/+2
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12045 a1074d23-0009-0410-80fe-cf8c14f379e6
2011-01-21Changes to the PCL interpreter makefiles so that when built on Windows the ↵Ken Sharp2-10/+23
display device is included, and selected as default, and to enable the various extras this device needs. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12043 a1074d23-0009-0410-80fe-cf8c14f379e6
2011-01-12Added ps2write to the default device list for GhostPDL.Marcos H. Woehrmann2-2/+2
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12021 a1074d23-0009-0410-80fe-cf8c14f379e6
2010-12-22Add new top level GhostPDL makefile targets, pcl-lib, ls-lib, svg-lib, xps-libRobin Watts2-0/+4
and all-lib. These build the same as pcl, ls-product, svg, xps etc, except the final product is a library that offers pl_main() as its top level entrypoint. The sole piece of code that is NOT included in the libs that is included in the exes is a 1 line 'main()' veneer that just calls pl_main. No expected cluster differences. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@11973 a1074d23-0009-0410-80fe-cf8c14f379e6
2010-11-16As part of the effort to fix bug 691655 Henry committed 11893 and 11894Robin Watts2-149/+180
which tidied the unix versions of the makefiles for pcl. This commit brings the windows makefiles into line with the unix ones (and contains various small extra tidying tweaks to the unix makefiles). This should leave the windows and unix makefiles as close together as syntax/differing options will allow. Thanks to Chris for smoke testing this with the UFST build. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@11899 a1074d23-0009-0410-80fe-cf8c14f379e6
2010-11-10Neaten up the makefile a bit more and remove obsolete modules,Henry Stiles1-7/+17
gsnogc.dev and imdi.dev and add the new sicclib.dev, which apparently was being pulled in by one of the output devices and wasn't explicitly included. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@11894 a1074d23-0009-0410-80fe-cf8c14f379e6
2010-11-09We now always include a ROM file system with the languages (PCL,XPS,Henry Stiles1-62/+56
SVG) and the language switch build which in turn will wrap in the icc profiles addressing 691655. Another variable has been added (BUNDLE_FONTS) to control if fonts are embedded in the executable. This commit also has some cleanup of the makefile, we expect further related changes as discussion continues about the handling of embedded resources. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@11893 a1074d23-0009-0410-80fe-cf8c14f379e6
2010-10-13Add the merry band of tiff devices to pcl, pxl, & xps unix builds.Henry Stiles1-3/+11
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@11801 a1074d23-0009-0410-80fe-cf8c14f379e6
2010-10-13Forgotten change to pcl makefile for windows to add the tiffscaled device.Robin Watts1-1/+1
No changes expected. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@11800 a1074d23-0009-0410-80fe-cf8c14f379e6
2010-08-03Add a makefile variable for gcc compiler option no-strict-aliasing,Henry Stiles1-1/+2
patch from William Bader, fixes 691129. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@11592 a1074d23-0009-0410-80fe-cf8c14f379e6
2010-06-29revert back to 11450.Henry Stiles2-2/+0
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@11462 a1074d23-0009-0410-80fe-cf8c14f379e6
2010-06-29Add the new LCMSPLATFORM definition to the Windows makefiles for non ↵Ken Sharp1-0/+1
PostScript PDLs. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@11461 a1074d23-0009-0410-80fe-cf8c14f379e6
2010-06-29The build was broken for pcl6, xps, and language switch because LCMSPLATFORM ↵Henry Stiles1-0/+1
was not initialized. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@11460 a1074d23-0009-0410-80fe-cf8c14f379e6
2010-06-28Finish up bug 691362, PXL PCLSelectFont attribute not handled. TheHenry Stiles1-1/+1
scaling was not correct, we want to use the exact same code used in the pcl interpreter to scale fonts then that scaling value is converted to PCL XL user units. The code has been refactored to share the the PCL font scaling code and support for converting the pcl font size in centipoints to the 3 user unit types in PCL XL has been added. C706.BIN should print correctly now. A bit more warning cleanup is needed in this new code. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@11437 a1074d23-0009-0410-80fe-cf8c14f379e6
2010-06-03Fix for crashes when handling fts_27xx.xps.Michael Vrhel2-1/+2
Normally the xps code always uses image interpolation when rendering images. The interpolation code does not currently handle rotations of images however. In this file, the image was rotated and was 16bpp indexed data. Normally this should end up using the 16 bit image rendering code. Unfortunately psl2lib.dev, which contains the methods for handling 16bit image data without interpolation was not included in the xps/pcl build so it was reverting to image_render_mono, which is not designed for handling 16bit data. The 16bit image rendering code is going to be rewritten soon to handle the data in a more efficient manner, avoid the many data type conversions and make it ICC based. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@11353 a1074d23-0009-0410-80fe-cf8c14f379e6
2010-05-13Nudge the windows solution/makefiles closer to supporting 64 bit buildsRobin Watts1-0/+4
by defining WIN64 and amending makefiles to pass the define on through recursive calls. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@11236 a1074d23-0009-0410-80fe-cf8c14f379e6
2010-04-05adding /*.ttf glob ; since change r10994, mkromfs requires explicit ↵Hin-Tak Leung2-2/+2
wildcards to work. fixes bug 691229. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@11018 a1074d23-0009-0410-80fe-cf8c14f379e6
2010-02-17Michael Vrhel's patches to enable use of the ICC branch with pcl andHenry Stiles2-0/+7
pxl. We use a conditional define ICCBRANCH so the languages will compile against the branch and trunk. The corresponding xps changes are forthcoming. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@10762 a1074d23-0009-0410-80fe-cf8c14f379e6
2010-02-04Bring svg_msvc.mak into line with xps_msvc.mak. This solves the situation ofRobin Watts1-1/+16
the produced gsvg.exe not actually supporting SVGs. No expected differences as neither svg or the msvc builds are being tested in the cluster. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@10709 a1074d23-0009-0410-80fe-cf8c14f379e6
2010-01-07Changes to the MSVC makefiles to prepare for the prototype vs2005 solutionRobin Watts1-0/+17
file. Firstly, we introduce an SBR symbol; if this is set when invoking the makefile, we add a new flag to the C compiler (held in SBRFLAGS) to cause the generation of the browse data for each source file. Next, we introduce a new bsc build target to combine those .sbr files into appropriate .bsc ones. The final change is enable debug builds to put their builds into debugobj rather than obj directories. With luck, this should cause no differences for anyone other than me. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@10592 a1074d23-0009-0410-80fe-cf8c14f379e6
2009-12-01Change default PCLXL_ROMFS_ARGS to use compression on the urwfonts. This getsRay Johnston2-2/+2
(with zlib compression) about 40% compression reducing the executable size by 4Mb. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@10430 a1074d23-0009-0410-80fe-cf8c14f379e6
2009-11-18Deprecate a rom font compression scheme which was used prior to ↵Henry Stiles1-7/+0
incorporating the more general Ghostscript rom file system. No expected differences. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@10342 a1074d23-0009-0410-80fe-cf8c14f379e6
2009-11-11GhostPDL makefile changes required to make GhostPDL targets make on msvc withRobin Watts1-0/+5
the new libtiff changes within gs. A couple of small changes to the gs makefiles are required too. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@10318 a1074d23-0009-0410-80fe-cf8c14f379e6
2009-10-29Include bmp device in the default unix build as it is needed by theHenry Stiles1-1/+1
tool htmldiff.pl. No expected differences. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@10241 a1074d23-0009-0410-80fe-cf8c14f379e6
2009-07-24Remove PCL/XL file support from the msvc build of gxps.Ralph Giles1-5/+1
This mostly involves removing a redundant unconditional setting of PCL_INCLUDED in pcl6_msvc.mak. A few other minor changes changes were made to more closely match the way the gcc build works. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@9886 a1074d23-0009-0410-80fe-cf8c14f379e6