Age | Commit message (Collapse) | Author | Files | Lines |
|
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8397 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
Details:
This wasn't effective in addressing the problem and could cause
additional trouble if the environment isn't configured. The changes
in r8394 should properly address the issue of quote interpretation
with MSVC6.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8396 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
segmentation fault in xps. No differences expected.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8395 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
PCL6 build to default to non-debug default). Changes /ZI to /Zi.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8394 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
a LIBPATH into the link command line. MSVC linker can't handle spaces in the
LIBPATH even if within " ". We use an environment variable set by Microsoft
MSVC 6 'vcvars32.bat' instead. This can be manually set if needed.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8392 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
Usage:
msvcxml gs obj\ld.tr > ghostscript.sln
This is the first attempt, and very poor.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8391 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8388 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8387 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
DETAILS :
Bug 689531 "Regression: PDF file has undesired extra gray object.".
The old code used the 0th component of the background color
instead its gray equivalent. The bug was introduced when
working on bug 687176.
EXPECTED DIFFERENCES :
None (comparefiles don't include a test for it).
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8386 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8384 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
longer use.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8383 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8382 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8381 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
that the constant value is not changed by the filter.
Bug 689556, customer 581.
DIFFERENCES:
Interpolated images in 148-11.ps shows slight difference in density.
On halftone devices this results in different transition from black to
white for some pixels.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8379 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
DETAILS :
Bug 689520 Regression: 1bpp and grayscale output broken.
The clist interpreter clist_playback_band maintains 2 devices :
the clist reader and target. The clist reader device stores
private interpreter's data. However using a device structure
for this purpose is pretty confusing, because the target
device may have same device fields with different values.
Particularly while processing a transparency, the target device
chage to a transparency buffer device,
which may have a different number of color components.
The problem happens due to the clist interpreter used
a wrong device to obtain the number of color components.
This patch changes the code with taking color components
from the target device.
Now we don't try to analyze all other access to the clist device -
it should be a subject of a separate job.
Therefore the code may need further improvements.
The right way would be to define a special structure for the clist interpreter,
and to drop the clist reader device at all.
EXPECTED DIFFERENCES :
None (comparefiles don't include a test for it; to be added after closing the bug).
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8378 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8377 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
DETAILS :
This patch only inserts some debug trace printing about the pdf14 compositor.
The old code is confusing due to mapping an obsolete instruction to "set_color[*]".
EXPECTED DIFFERENCES :
None.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8376 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
DETAILS :
This patch only inserts some debug trace printing about the pdf14 compositor.
The old code generates a confusing trace due to missing an important information.
EXPECTED DIFFERENCES :
None.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8375 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
typo that caused CMap files to be missing.
DETAILS:
This method of putting the gs_init.ps dependency down in lib.mak require
us to get gs_init.ps. This hack was discussed with Ralph and is an
alternative to adding a dependency to all of the top level makefiles.
The dummy gs_init.ps is only made when we are NOT including the PS
interpreter (PSI_INCLUDED) since we need the real one for the language
switch build. Note that the dummy file doesn't get added to the %rom%
file system since PS_ROMFS_ARGS is empty if int.mak is not included.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8374 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8373 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
(continued 2).
DETAILS :
The last patch (rev 8365) appears incorrect and causes crashes with halftoning devices.
The problem happens due to gx_device_clist_reader::offset_map
has been initialized too early in clist_reader_init.
At that moment the device is still a clist writer,
but the field offset_map belongs to clist reader.
Due to gx_device_clist_s is a union, the field overlaps band_range_list.head,
and the letter was prematurely reset. It caused some commands were not written
to clist file while the page closes. With the test case (pbmraw -r300 012-01.ps)
it missed cmd_opv_ext_put_halftone and did not miss cmd_opv_ext_put_drawing_color
with color index type == ht_binary. It caused the crash in gx_dc_ht_binary_readdue to
pis->dev_ht was not set. (cmd_opv_ext_put_halftone does set, but it was missed).
The log message of the revision 8365 reads :
"This change is algorithmically equivalent for release build."
This statement is false due to the premature initialization of
gx_device_clist_reader::offset_map.
This patch fixes that with removing its initialization from
clist_reader_init. A subsequent call to clist_render_init initializes it.
The last patch was made buggy due to the function name
clist_reader_init does not properly reflects its finction.
This patch fixes the naming.
Also provided more stability in gxht.c with a check for NULL pointer.
EXPECTED DIFFERENCES :
Should fix revision 8365 regressions.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8372 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8371 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
is distinct from 'make dist' the results are not optimal Bug 689425.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8370 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
(continued).
DETAILS :
The last patch appears incorrect for the debug build
and causes crashes sometimes. Not sure why local testing didn't detect that.
This change is algorithmically equivalent for release build.
In the debug build it fixes problems of the last patch.
1. Offset map could be prematurely released by the garbager
(It could cause a crash. Not sure why the local test didn't detect it).
A new pointer gx_device_clist_reader::offset_map prevents that.
Added it to the garbager descriptor and provided its initialization.
2. buffer_segment_index can fail with returning a negative index.
Checked that and propagated error codes.
4. Besides top_up_cbuf, the buffer topping up also happens
with calling memmove when reading bitmap data.
Added calls to top_up_offset_map for accounting that.
5. See comment in top_up_offset_map about the improved invariant.
6. The prototupe of top_up_cbuf is changed with passing the error code.
Due to that the variable 'cbp' is droped the 'register' modifier.
We believe it won't cause a visible slowdown because
modern compilers are smart enough.
7. Do not maintain offset_map when -ZL is not specified.
It saves some CPU time with debug build.
EXPECTED DIFFERENCES :
None.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8369 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8368 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
without PS (PCL
only build). Make sure gs/src/ugcclib.mak does conditional assignment of COMPILE_INITS
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8367 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8366 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
DETAILS :
This change is algorithmically equivalent for release build.
In the debug build it only adds a new debug printing.
Let clist segment is consecutive instuctions buffered for same band.
1. gx_device_clist_writer::ins_count counts clist segments.
2. cmd_prefix_s::id is the number of clist segment that it belongs to.
3. stream_band_read_state_s::offset_map stores a table for mapping
clist segments' buffer offsets to clist file offsets.
4. s_band_read_init_offset_map, s_band_read_dnit_offset_map,
clist_file_offset, top_up_offset_map maintain the table.
5. Inserted a debug printing into gxclutil.c, gxclrast.c .
EXPECTED DIFFERENCES :
None.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8365 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
to debug trace.
DETAILS :
We would like this change to be algorithmically equivalent,
but the proof is too complex. Therefore we commit it separately
in order to check for raster differences.
1. Inserted a new field into cmd_prefix_s.
For now this field is never used, but it changes memory allocation.
Due to that the bufferring in the clist writer goes slightly different.
Particularly it may cause new effects while restarting failed instructions.
2. Early return from top_up_cbuf when the stream is over.
The new code does not top up the last portion of the data stream.
It shouldn't be important for the reader, but we can't proove for sure.
This change is necessary because we want to add more fields to gx_clist_state_s,
and the new fields would be invalid after s_close resets stream::state.
See the next patch for details.
EXPECTED DIFFERENCES :
None.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8364 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
Passing -DHAVE_MEMMOVE is required in the unix build.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8363 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8362 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
DETAILS :
1. The old code uses the 32 bits compiler for compiling build utilities
(genarchg, echogs), and then tries to link them with x64 libraries.
2. Developer Studio 2005 doesn't support -ZI
(debug database for edit end continue) for the x64 platform.
EXPECTED DIFFERENCES :
None.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8361 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
entries were clamped to 0 or 1.
Details:
Bug #689537 "FontBBox wrong in pdf generated by ps2pdf (breaks
acrobat 8)".
The type 3 font has a FontBBox of [0 0 0.3 0.3]. Because
pdfwrite uses integers to record the font bounding box, this was
being clampled to [0 0 1 1]. This should not cause a prolem, but
for unknown reasons causes Acrobat 8 to render *very* slowly.
(gdevpdtf.h), 'struct /*type 3*/', alter the FontBBox member from
a gs_int_rect to a gs_rect to preserve floating point box values.
(gdevpdtt.c), pdf_make_font3_resource, copy the font bbox values
instead of floor'ing the lower and ceil'ing the upper values.
(gdevpdfu.c), create a new function 'pdf_write_font_bbox_float'
to write the bbox as floats instead of ints.
(gdevpdfx.h) prototype 'pdf_write_font_bbox_float'
(gdevpdtw.c), pdf_finish_write_contents_type3, use the new
routine to write out a floating point bounding box.
EXPECTED DIFFERENCES:
None.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8360 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
could not have their content modified after the object was completed.
DETAILS:
Bug #689104 "Overwriting transformation /Matrix in XObject previously
created with /BP & /EP pdfmarks".
Some pdfmarks, such as /BP create named objects. These can accumulate
information until a matching pdfmark (/EP in this case) completes the
object. When complete, objects were written to the final destination
PDF file. This made it impossible to later modify the object.
(gdevpfm.c) pdfmark_bind_named_object, change the call to
pdf_substitute_resource to defer writing the object to the
destination file, if the object is named. This means the object is still
available for modification until the end of the job. NB if the object
is not named, we still write it immediately, as there is no mechanism
for modifying an unnamed object, nor do we currently have a mechanism
for maintaining a record of unnamed objects.
EXPECTED DIFFERENCES:
None.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8359 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
to the end of the stream and closing it. Bug 689551, customer 661.
DIFFERENCES:
None
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8358 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
We only support the current version 6 library, and it seems
unlikely to revise in the the near future. We also include
our own copy of the source now, so it is less important to
support a variety of third party library versions.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8357 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
We no longer support building older versions of the libpng source,
and now include our own version, so there is no reason to maintain
this.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8356 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8355 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
the top level makefiles.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8354 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8353 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8352 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
glyph names.
DETAILS:
Some TrueType fonts converted by "Windows Type 1 Installer" have
problematic post table format 2.0 including MacGlyphEncoding
entries which should be omitted. Such extra entries in the
beginning of glyphName array make /Encoding broken. By checking
if glyph name in post table is predefined one in MacGlyphEncoding,
such problematic post table can be detected. By ignoring such
problematic post table, bug 689495 is fixed.
However, some TrueType fonts designed for Microsoft redefines
MacGlyphEncoding glyph name out of predefined range. To permit
such font, the post table in format 2.0 is checked by
ISOLatin1Encoding which is the cross section of MacGlyphEncoding
and WinAnsiEncoding. ISOLatin1Encoding is enought to fix the
bug 689495.
EXPECTED DIFFERENCES:
None.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8351 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
Can be used to link to the system expat with SHARE_EXPAT=1,
but compiling the source doesn't work on linux in this revision
because of missing configuration defines.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8350 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
This 3rd party library is needed for XPS and eventually SVG support.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8349 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
It doesn't do anything useful yet, only prints "Hello world" once per page.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8347 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
On some systems XInitImage() appears to have
problems with images that are one pixel in height, so
if XInitImage() returns an error call XPutImage() instead.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8346 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
and gdev_vector_stream() more clearly.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8345 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
as VMerror). Bug 689511 for customer 951.
DETAILS:
This doesn't really fix the underlying problem seen by the (embedded)
customer where the clist rendering uses a large amount of RAM.
EXPECTED DIFFERENCES:
None.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8344 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
DETAILS :
Fix an inaccurate coding of the last patch.
EXPECTED DIFFERENCES :
None.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8343 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
DETAILS :
This change is syntactically equivalent for a default build.
For obtaining the new functionality Ghostscript must be compiled
with a new predefined macro DEBUG_TRACE_PS_OPERATORS.
The new debug switch '!' prints names of operators executed while the interpretation.
Note : Inline operators (which are expanded inside interp.c) are not printed.
EXPECTED DIFFERENCES :
None.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8342 a1074d23-0009-0410-80fe-cf8c14f379e6
|