Commits

Herbert Breunung committed 1e0209a

andala mono is much better font than courier under mac

  • Participants
  • Parent commits f5b432d
  • Branches sp2

Comments (0)

Files changed (1)

File lib/Kephra/App/Editor.pm

 	my ($self, $font) = @_;
 	my ( $fontweight, $fontstyle ) = ( &Wx::wxNORMAL, &Wx::wxNORMAL );
 	$font = {
-		family => 'Courier', # old default
+		family => 'Andale Mono', # old default
 		#family => 'DejaVu Sans Mono', # new
 		size => 11,
 		style => 'normal',
 		weight => 'normal',    
 	} unless defined $font;
 	#my $font = _config()->{font};
-	$font->{'size'} += 4 if $^O eq 'darwin';
+	$font->{'size'} += 2 if $^O eq 'darwin';
 	$fontweight = &Wx::wxLIGHT  if $font->{weight} eq 'light';
 	$fontweight = &Wx::wxBOLD   if $font->{weight} eq 'bold';
 	$fontstyle  = &Wx::wxSLANT  if $font->{style}  eq 'slant';