Skip to content

Commit 740beb7

Browse files
committed
Improve documentation
1 parent 53a7e01 commit 740beb7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/LaTeXML/Engine/TeX_Box.pool.ltxml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -530,6 +530,9 @@ sub adjustBoxColor {
530530
return _color_adjust($color, $bgcolor, {}, $box); }
531531
return $box; }
532532

533+
# This internal function essentially clones all digested objects (Box, List, Whatsit,...)
534+
# while adjusting any contained Font objects as it goes. If a font uses a default clor
535+
# or background, it will be changed to the requested colors.
533536
sub _color_adjust {
534537
no warnings 'recursion';
535538
my ($fg, $bg, $cache, $object) = @_;

0 commit comments

Comments
 (0)