Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
9323c5ee
Commit
9323c5ee
authored
Sep 07, 2015
by
Frédéric Buclin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 1201041: Allow OpenType fonts as well as TrueType (.otf as well as .ttf) for graphs
r=gerv
parent
23807179
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
Requirements.pm
Bugzilla/Install/Requirements.pm
+1
-1
strings.txt.pl
template/en/default/setup/strings.txt.pl
+5
-5
No files found.
Bugzilla/Install/Requirements.pm
View file @
9323c5ee
...
...
@@ -744,7 +744,7 @@ sub check_font_file {
$readable
=
1
if
-
r
$font_file
;
my
$ttf
;
$ttf
=
1
if
$font_file
=~
/\.
ttf
$/
;
$ttf
=
1
if
$font_file
=~
/\.
(ttf|otf)
$/
;
if
(
$output
)
{
_checking_for
({
package
=>
'Font file'
,
ok
=>
$readable
&&
$ttf
});
...
...
template/en/default/setup/strings.txt.pl
View file @
9323c5ee
...
...
@@ -27,8 +27,8 @@ END
The
file
##file## cannot be found. Make sure you typed the full path to the file
END
bad_font_file_name
=>
<<
'END'
,
The
file
##file## must point to a TrueType
font file (its extension must b
e
.
ttf
)
The
file
##file## must point to a TrueType
or OpenType font fil
e
(
its
extension
must
be
.
ttf
or
.
otf
)
.
END
blacklisted
=>
'(blacklisted)'
,
bz_schema_exists_before_220
=>
<<
'END'
,
...
...
@@ -224,9 +224,9 @@ what directory the "diff" bin is in. (You only need to set this if you
are using that feature of the Patch Viewer.)
END
localconfig_font_file => <<'
END
',
You can specify the full path to a TrueType
font file, which will be used to
display text (labels, legends, ...) in charts and graphical reports. To support
as many languages as possible, we recommend to specify a TrueType
font such as
You can specify the full path to a TrueType
or OpenType font file, which will
be used to display text (labels, legends, ...) in charts and graphical reports.
To support as many languages as possible, we recommend to specify a
font such as
Unifont (http://unifoundry.com/unifont.html), which supports all printable
characters in the Basic Multilingual Plane. If you leave this parameter empty,
a default font will be used, but its support is limited to English characters
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment