Skip to content

Commit

Permalink
Retract two changes that are too early
Browse files Browse the repository at this point in the history
  • Loading branch information
brucemiller committed Aug 9, 2024
1 parent 289f3c2 commit cb8721e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/LaTeXML/Common/Font.pm
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,8 @@ sub decodeFontname {
if (my $fser = lookupFontSeries($ser)) { map { $props{$_} = $$fser{$_} } keys %$fser; }
if (my $fsh = lookupFontShape($shp)) { map { $props{$_} = $$fsh{$_} } keys %$fsh; }
$size = 1 unless $size; # Yes, also if 0, "" (from regexp)
$size = $at if defined $at;
$size = $at * $scaled if defined $scaled;
$props{name} = $name;
$props{size} = $size;
# Experimental Hack !?!?!?
Expand Down Expand Up @@ -249,7 +251,7 @@ sub textDefault {
sub mathDefault {
my ($self) = @_;
return $self->new_internal('math', $DEFSERIES, 'italic', DEFSIZE(),
$DEFCOLOR, $DEFBACKGROUND, $DEFOPACITY, 'OT1', $DEFLANGUAGE, 'text', 0); }
$DEFCOLOR, $DEFBACKGROUND, $DEFOPACITY, undef, $DEFLANGUAGE, 'text', 0); }

# Accessors
# Using an array here is getting ridiculous!
Expand Down

0 comments on commit cb8721e

Please sign in to comment.