mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-29 22:35:27 -04:00
- zint_symbol->fgcolour
& bgcolour
buffer lengths extended 10
-> 16 to allow for "C,M,Y,K" comma-separated decimal percentage strings - API/CLI/GUI: allow foreground/background colours to be specified as comma-separated decimal "C,M,Y,K" strings where "C", "M" etc. are percentages (0-100) (ticket #281, 3rd point) - output.c: new funcs `out_colour_get_rgb()` & `out_colour_get_cmyk()` and use in bmp/emf/gif etc. - PCX: add alpha support - GUI: fix fg/gbcolor icon background not being reset on zap - GUI: Rearrange some Appearance tab inputs (Border Type <-> Width, Show Text <-> Font, Text/Font <-> Printing Scale/Size) to flow more naturally (hopefully) - GUI: save button "Save As..." -> "Save..." and add icon - CLI: add --bgcolor/colour & --fgcolor/colour synonyms
This commit is contained in:
parent
48eaa0cc4e
commit
ab2abccdb6
55 changed files with 1439 additions and 886 deletions
|
@ -1,5 +1,5 @@
|
|||
%!PS-Adobe-3.0 EPSF-3.0
|
||||
%%Creator: Zint 2.10.0.9
|
||||
%%Creator: Zint 2.12.0.9
|
||||
%%Title: Zint Generated Symbol
|
||||
%%Pages: 0
|
||||
%%BoundingBox: 0 0 128 119
|
||||
|
@ -8,10 +8,10 @@
|
|||
/TR { newpath 4 1 roll exch moveto 1 index 0 rlineto 0 exch rlineto neg 0 rlineto closepath fill } bind def
|
||||
/TE { pop pop } bind def
|
||||
newpath
|
||||
0.98 0.59 0.19 setrgbcolor
|
||||
0.99 0.59 0.19 setrgbcolor
|
||||
118.90 0.00 TB 0.00 128.00 TR
|
||||
TE
|
||||
0.08 0.48 0.81 setrgbcolor
|
||||
0.08 0.48 0.82 setrgbcolor
|
||||
100.00 18.90 TB 0.00 2.00 TR
|
||||
TE
|
||||
100.00 18.90 TB 6.00 2.00 TR
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
%!PS-Adobe-3.0 EPSF-3.0
|
||||
%%Creator: Zint 2.10.0.9
|
||||
%%Creator: Zint 2.12.0.9
|
||||
%%Title: Zint Generated Symbol
|
||||
%%Pages: 0
|
||||
%%BoundingBox: 0 0 128 119
|
||||
|
@ -8,10 +8,10 @@
|
|||
/TR { newpath 4 1 roll exch moveto 1 index 0 rlineto 0 exch rlineto neg 0 rlineto closepath fill } bind def
|
||||
/TE { pop pop } bind def
|
||||
newpath
|
||||
0.00 0.40 0.81 0.02 setcmykcolor
|
||||
0.00 0.40 0.81 0.01 setcmykcolor
|
||||
118.90 0.00 TB 0.00 128.00 TR
|
||||
TE
|
||||
0.90 0.41 0.00 0.19 setcmykcolor
|
||||
0.90 0.41 0.00 0.18 setcmykcolor
|
||||
100.00 18.90 TB 0.00 2.00 TR
|
||||
TE
|
||||
100.00 18.90 TB 6.00 2.00 TR
|
||||
|
|
70
backend/tests/data/eps/code39_nobg_cmyk.eps
Normal file
70
backend/tests/data/eps/code39_nobg_cmyk.eps
Normal file
|
@ -0,0 +1,70 @@
|
|||
%!PS-Adobe-3.0 EPSF-3.0
|
||||
%%Creator: Zint 2.12.0.9
|
||||
%%Title: Zint Generated Symbol
|
||||
%%Pages: 0
|
||||
%%BoundingBox: 0 0 128 119
|
||||
%%EndComments
|
||||
/TB { 2 copy } bind def
|
||||
/TR { newpath 4 1 roll exch moveto 1 index 0 rlineto 0 exch rlineto neg 0 rlineto closepath fill } bind def
|
||||
/TE { pop pop } bind def
|
||||
newpath
|
||||
0.90 0.40 0.00 0.09 setcmykcolor
|
||||
100.00 18.90 TB 0.00 2.00 TR
|
||||
TE
|
||||
100.00 18.90 TB 6.00 2.00 TR
|
||||
TE
|
||||
100.00 18.90 TB 10.00 4.00 TR
|
||||
TE
|
||||
100.00 18.90 TB 16.00 4.00 TR
|
||||
TE
|
||||
100.00 18.90 TB 22.00 2.00 TR
|
||||
TE
|
||||
100.00 18.90 TB 26.00 4.00 TR
|
||||
TE
|
||||
100.00 18.90 TB 32.00 2.00 TR
|
||||
TE
|
||||
100.00 18.90 TB 38.00 2.00 TR
|
||||
TE
|
||||
100.00 18.90 TB 42.00 2.00 TR
|
||||
TE
|
||||
100.00 18.90 TB 46.00 4.00 TR
|
||||
TE
|
||||
100.00 18.90 TB 52.00 2.00 TR
|
||||
TE
|
||||
100.00 18.90 TB 56.00 4.00 TR
|
||||
TE
|
||||
100.00 18.90 TB 64.00 2.00 TR
|
||||
TE
|
||||
100.00 18.90 TB 68.00 2.00 TR
|
||||
TE
|
||||
100.00 18.90 TB 72.00 4.00 TR
|
||||
TE
|
||||
100.00 18.90 TB 78.00 4.00 TR
|
||||
TE
|
||||
100.00 18.90 TB 84.00 4.00 TR
|
||||
TE
|
||||
100.00 18.90 TB 92.00 2.00 TR
|
||||
TE
|
||||
100.00 18.90 TB 96.00 2.00 TR
|
||||
TE
|
||||
100.00 18.90 TB 100.00 2.00 TR
|
||||
TE
|
||||
100.00 18.90 TB 104.00 2.00 TR
|
||||
TE
|
||||
100.00 18.90 TB 110.00 2.00 TR
|
||||
TE
|
||||
100.00 18.90 TB 114.00 4.00 TR
|
||||
TE
|
||||
100.00 18.90 TB 120.00 4.00 TR
|
||||
TE
|
||||
100.00 18.90 TB 126.00 2.00 TR
|
||||
TE
|
||||
matrix currentmatrix
|
||||
/Helvetica findfont
|
||||
14.00 scalefont setfont
|
||||
0 0 moveto 64.00 3.50 translate 0.00 rotate 0 0 moveto
|
||||
(*123*) stringwidth
|
||||
pop
|
||||
-2 div 0 rmoveto
|
||||
(*123*) show
|
||||
setmatrix
|
|
@ -1,5 +1,5 @@
|
|||
%!PS-Adobe-3.0 EPSF-3.0
|
||||
%%Creator: Zint 2.10.0.9
|
||||
%%Creator: Zint 2.12.0.9
|
||||
%%Title: Zint Generated Symbol
|
||||
%%Pages: 0
|
||||
%%BoundingBox: 0 0 28 26
|
||||
|
@ -8,7 +8,7 @@
|
|||
/TR { newpath 4 1 roll exch moveto 1 index 0 rlineto 0 exch rlineto neg 0 rlineto closepath fill } bind def
|
||||
/TE { pop pop } bind def
|
||||
newpath
|
||||
0.98 0.59 0.19 setrgbcolor
|
||||
0.99 0.59 0.19 setrgbcolor
|
||||
26.00 0.00 TB 0.00 28.00 TR
|
||||
TE
|
||||
0.00 1.00 1.00 setrgbcolor
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue