[latex3-commits] [git/LaTeX3-latex3-latex3] master: A few dvisvgm fixes (1b8c492)

Joseph Wright joseph.wright at morningstar2.co.uk
Thu May 9 16:20:34 CEST 2019


Repository : https://github.com/latex3/latex3
On branch  : master
Link       : https://github.com/latex3/latex3/commit/1b8c492c6d6a13ff1717e6cbdff1b5224d15e868

>---------------------------------------------------------------

commit 1b8c492c6d6a13ff1717e6cbdff1b5224d15e868
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Thu May 9 15:20:34 2019 +0100

    A few dvisvgm fixes


>---------------------------------------------------------------

1b8c492c6d6a13ff1717e6cbdff1b5224d15e868
 l3kernel/l3drivers-draw.dtx |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/l3kernel/l3drivers-draw.dtx b/l3kernel/l3drivers-draw.dtx
index bc7bac5..1cd42d4 100644
--- a/l3kernel/l3drivers-draw.dtx
+++ b/l3kernel/l3drivers-draw.dtx
@@ -1223,7 +1223,7 @@
 %  \texttt{dvips}. Here, we are only allowed RGB colors so there is some
 %  conversion to do.
 %    \begin{macrocode}
-\cs_new_protected:Npn \driver_draw_color_stroke_cmyk:nnnn #1#2#3#4
+\cs_new_protected:Npn \driver_draw_color_fill_cmyk:nnnn #1#2#3#4
   {
     \use:x
       {
@@ -1234,18 +1234,18 @@
       }
   }
 \cs_new_eq:NN \driver_draw_color_stroke_cmyk:nnnn \driver_color_cmyk:nnnn
-\cs_new_protected:Npn \driver_draw_color_gray:n #1
+\cs_new_protected:Npn \driver_draw_color_fill_gray:n #1
   {
     \use:x
       {
         \@@_draw_color_gray_aux:n
-          { \fp_eval:n { 100 * (#3) } }
+          { \fp_eval:n { 100 * (#1) } }
       }
   }
 \cs_new_protected:Npn \@@_draw_color_gray_aux:n #1
   { \@@_draw_color_fill:nnn {#1} {#1} {#1} }
 \cs_new_eq:NN \driver_draw_color_stroke_gray:n \driver_color_gray:n
-\cs_new_protected:Npn \driver_draw_color_rgb:nnn #1#2#3
+\cs_new_protected:Npn \driver_draw_color_fill_rgb:nnn #1#2#3
   {
     \use:x
       {





More information about the latex3-commits mailing list