diff --git a/testfiles/colour-basic.luatex.tlg b/testfiles/colour-basic.luatex.tlg index 4f9f0c8..cae043e 100644 --- a/testfiles/colour-basic.luatex.tlg +++ b/testfiles/colour-basic.luatex.tlg @@ -5,11 +5,14 @@ Loading xcolor... Loading a font with hex colour: TU/texgyreheros-regular.otf(0)/m/n: [texgyreheros-regular.otf]:mode=node;script=latn;language=dflt;color={5500FF}; -Loading a font by name (xcolor): +Loading a font by name (l3color+xcolor): TU/texgyreheros-regular.otf(1)/m/n: [texgyreheros-regular.otf]:mode=node;script=latn;language=dflt;color={red}; Defining a new xcolor colour and using it: TU/texgyreheros-regular.otf(2)/m/n: - [texgyreheros-regular.otf]:mode=node;script=latn;language=dflt;color={Foo}; + [texgyreheros-regular.otf]:mode=node;script=latn;language=dflt;color={4D6680}; +Defining a new l3color colour and using it: +TU/texgyreheros-regular.otf(3)/m/n: + [texgyreheros-regular.otf]:mode=node;script=latn;language=dflt;color={Bar}; *************** Compilation 1 of test file completed with exit status 0 diff --git a/testfiles/colour-basic.lvt b/testfiles/colour-basic.lvt index e20333a..cb98000 100644 --- a/testfiles/colour-basic.lvt +++ b/testfiles/colour-basic.lvt @@ -9,11 +9,17 @@ \MSG{Loading a font with hex colour:} {\fontspec[Color=5500FF]{texgyreheros-regular.otf}\CURRNFSS} -\MSG{Loading a font by name (xcolor):} +\MSG{Loading a font by name (l3color+xcolor):} {\fontspec[Color=red]{texgyreheros-regular.otf}\CURRNFSS} \MSG{Defining a new xcolor colour and using it:} \definecolor{Foo}{rgb}{0.3,0.4,0.5} {\fontspec[Color=Foo]{texgyreheros-regular.otf}\CURRNFSS} -\end{document} \ No newline at end of file +\MSG{Defining a new l3color colour and using it:} +\ExplSyntaxOn +\color_set:nnn{Bar}{rgb}{0.5,0.4,0.3} +\ExplSyntaxOff +{\fontspec[Color=Bar]{texgyreheros-regular.otf}\CURRNFSS} + +\end{document} diff --git a/testfiles/colour-basic.tlg b/testfiles/colour-basic.tlg index f0709ec..04ace6d 100644 --- a/testfiles/colour-basic.tlg +++ b/testfiles/colour-basic.tlg @@ -5,11 +5,14 @@ Loading xcolor... Loading a font with hex colour: TU/texgyreheros-regular.otf(0)/m/n: "[texgyreheros-regular.otf]/OT:script=latn;language=dflt;color=5500FFFF ;" at 10.0pt -Loading a font by name (xcolor): +Loading a font by name (l3color+xcolor): TU/texgyreheros-regular.otf(1)/m/n: "[texgyreheros-regular.otf]/OT:script=latn;language=dflt;color=FF0000FF ;" at 10.0pt Defining a new xcolor colour and using it: TU/texgyreheros-regular.otf(2)/m/n: "[texgyreheros-regular.otf]/OT:script=latn;language=dflt;color=4D6680FF ;" at 10.0pt +Defining a new l3color colour and using it: +TU/texgyreheros-regular.otf(3)/m/n: + "[texgyreheros-regular.otf]/OT:script=latn;language=dflt;color=80664CFF ;" at 10.0pt *************** Compilation 1 of test file completed with exit status 0