Import one font into Mahara fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Medium
|
Robert Lyon |
Bug Description
After several tries to import a font file, I noticed that I mistranslated the information on the Install Font page. So the end of my bug report is irrelevant.
But, I think that because all the file format are required to import a single font, the explanation text should be more clear (maybe some text in bold?) and all the field must be specified as required (bold red *).
-dajan
<- the below part of this message became irrelevant / kept for history purpose --->
Bug 1 - A licence file seems to be needed to import a font but no information (*) is displayed to tell the user about it before the importation fails with the message : "This file is required".
Bug 2 - Even if a licence file is selected together with a font file, errors messages are still displayed
- no file selected
- this is not a valid xxx font file
Procedure 1 :
1/ Go to Administration -> Configure site -> Fonts
2/ Click on Install font
3/ Give a name (eg. Huxtable)
4/ Leave everything else like it is
5/ Select a TTF font file (e.g. the one attached to this bug report : Huxtable -> huxtable.ttf)
6/ Click on the "Install font" button
Expected behaviour :
The font is installed with the given name.
Real behaviour :
The follwing error messages are displayed :
a/ This is not a valid EOT font file. (with no file selected in red)
b/ This is not a valid SVG font file. (with no file selected in red)
c/ This is not a valid WOFF font file. (with no file selected in red)
d/ License file This field is required.
Procedure 2
1/ Repeat steps 1 to 5 of procedure 1
2/ Select a file for the licence (e.g. readthis.html)
3/ Click on "Install font" button
Expected behaviour :
The font is installed with the given name.
Real behaviour :
Same as in procedure 1 but without the error message : Licence file This field is required.
Propositions :
1/ Mark the field "Licence" as required (bold red *)
2/ Check if one file is selected and import it. If more than one file is selected import them. If no file is selected display an error message
-dajan
Changed in mahara: | |
status: | Fix Committed → Fix Released |
Ok.
Found later in the manual and also misread the explanation on the top of the page, that you have to provide all the formats ! So my proposition is more simple, make clear that all fields are required (red bold *).
Sorry for the previous message.
-dajan