Make Fonts accessible via the httpd
- Add a /Fonts/ url rewrite, mapping to FGDATA/Fonts - Add a css for mapping our Liberation Fonts
This commit is contained in:
parent
2072b37455
commit
eb6b094957
2 changed files with 114 additions and 2 deletions
112
Fonts/LiberationFonts/LiberationFonts.css
Normal file
112
Fonts/LiberationFonts/LiberationFonts.css
Normal file
|
@ -0,0 +1,112 @@
|
|||
@font-face {
|
||||
font-family: 'Liberation Sans';
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
src: url('LiberationSans-Regular.ttf');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Liberation Sans';
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
src: url('LiberationSans-Bold.ttf');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Liberation Sans';
|
||||
font-weight: normal;
|
||||
font-style: italic;
|
||||
src: url('LiberationSans-Italic.ttf');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Liberation Sans';
|
||||
font-weight: bold;
|
||||
font-style: italic;
|
||||
src: url('LiberationSans-BoldItalic.ttf');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Liberation Serif';
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
src: url('LiberationSerif-Regular.ttf');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Liberation Serif';
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
src: url('LiberationSerif-Bold.ttf');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Liberation Serif';
|
||||
font-weight: normal;
|
||||
font-style: italic;
|
||||
src: url('LiberationSerif-Italic.ttf');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Liberation Serif';
|
||||
font-weight: bold;
|
||||
font-style: italic;
|
||||
src: url('LiberationSerif-BoldItalic.ttf');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Liberation Mono';
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
src: url('LiberationMono-Regular.ttf');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Liberation Mono';
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
src: url('LiberationMono-Bold.ttf');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Liberation Mono';
|
||||
font-weight: normal;
|
||||
font-style: italic;
|
||||
src: url('LiberationMono-Italic.ttf');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Liberation Mono';
|
||||
font-weight: bold;
|
||||
font-style: italic;
|
||||
src: url('LiberationMono-BoldItalic.ttf');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Liberation Sans Narow';
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
src: url('LiberationSansNarrow-Regular.ttf');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Liberation Sans Narrow';
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
src: url('LiberationSansNarrow-Bold.ttf');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Liberation Sans Narrow';
|
||||
font-weight: normal;
|
||||
font-style: italic;
|
||||
src: url('LiberationSansNarrow-Italic.ttf');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Liberation Sans Narrow';
|
||||
font-weight: bold;
|
||||
font-style: italic;
|
||||
src: url('LiberationSansNarrow-BoldItalic.ttf');
|
||||
}
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
-->
|
||||
<PropertyList>
|
||||
<uri-handler>
|
||||
<!--screenshot>/screenshot/</screenshot-->
|
||||
<!--screenshot>/screenshot</screenshot-->
|
||||
<property>/props/</property>
|
||||
<json>/json/</json>
|
||||
<run>/run.cgi</run>
|
||||
|
@ -57,6 +57,6 @@
|
|||
|
||||
<!-- all paths are relative to fg-root -->
|
||||
<!-- (not yet implemented) -->
|
||||
<url-rewrites>/gui/=webgui/</url-rewrites>
|
||||
<url-rewrites>/gui/=webgui/,/fonts/=Fonts/</url-rewrites>
|
||||
</options>
|
||||
</PropertyList>
|
||||
|
|
Loading…
Reference in a new issue