So i decided to try and copy Lucidasands.ttf from windows fonts to /usr/share/fonts/
all is fine...server can see it using fc-list
i went to fonts.css and entered
@font-face {
font-family: Lucida Sans;
font-style: normal;
font-weight: normal;
src: url("/usr/share/fonts/LucidaSansRegular.ttf")
}
@font-face {
font-family: Lucida Sans;
font-style: normal;
font-weight: bold;
src: url("/usr/share/fonts/Lsansd.TTF")
}
@font-face {
font-family: Lucida Sans;
font-style: italic;
font-weight: normal;
src: url("/usr/share/fonts/Lsansi.TTF")
}
@font-face {
font-family: Lucida Sans;
font-style: italic;
font-weight: bold;
src: url("/usr/share/fonts/Lsansdi.TTF")
}
generate a pdf and it replaces it with a default font? any ideas?
Thanks
Richard
all is fine...server can see it using fc-list
i went to fonts.css and entered
@font-face {
font-family: Lucida Sans;
font-style: normal;
font-weight: normal;
src: url("/usr/share/fonts/LucidaSansRegular.ttf")
}
@font-face {
font-family: Lucida Sans;
font-style: normal;
font-weight: bold;
src: url("/usr/share/fonts/Lsansd.TTF")
}
@font-face {
font-family: Lucida Sans;
font-style: italic;
font-weight: normal;
src: url("/usr/share/fonts/Lsansi.TTF")
}
@font-face {
font-family: Lucida Sans;
font-style: italic;
font-weight: bold;
src: url("/usr/share/fonts/Lsansdi.TTF")
}
generate a pdf and it replaces it with a default font? any ideas?
Thanks
Richard