Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Handle float point font size(xft) #9

Merged
merged 1 commit into from

2 participants

Daniel Zhang Jan Larres
Daniel Zhang

No description provided.

Jan Larres majutsushi merged commit 18a8573 into from
Jan Larres
Owner

Nice, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 7, 2013
  1. Daniel Zhang
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  font-size
2  font-size
View
@@ -201,7 +201,7 @@ sub font_change_size_xft
my $new_size = 0;
foreach my $piece (@pieces) {
- if ($piece =~ /^(?:(?:pixel)?size=|[^=-]+-)(\d+)$/) {
+ if ($piece =~ /^(?:(?:pixel)?size=|[^=-]+-)(\d+(\.\d*)?)$/) {
$size = $1;
if ($basesize != 0) {
Something went wrong with that request. Please try again.