Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On Ubuntu 24.04 the direct GD::gdGiantFont usage causes errors. #1081

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions macros/graph/PGstatisticsGraphMacros.pl
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,7 @@ sub add_boxplot {

# No go through and add the labels.
while ($currentPlot > 0) {
my $label = new Label($xmin, $currentPlot - 0.5, $currentPlot, 'black', 'left');
$label->font(GD::gdGiantFont);
my $label = new Label($xmin, $currentPlot - 0.5, $currentPlot, 'black', 'left', 'giant');
$graphRef->lb($label);
$currentPlot--;
}
Expand Down Expand Up @@ -331,8 +330,7 @@ sub add_histogram {
# Go through and add the labels on the left part of the graph
# No go through and add the labels.
while ($currentPlot > 0) {
my $label = new Label($xmin, $currentPlot - 0.5, $currentPlot, 'black', 'left');
$label->font(GD::gdGiantFont);
my $label = new Label($xmin, $currentPlot - 0.5, $currentPlot, 'black', 'left', 'giant');
$graphRef->lb($label);
$currentPlot--;
}
Expand Down