Hi All,
My HTML interface when rendered in Chromium embedded framework is not loading custom fonts. On the other hand when I open HTML page in Safari or Chrome there is no issue.
Following is the CSS code I am using to include font files:
@font-face {
font-family: "BankGothicLight";
src: local("BankGothic Lt BT"), url(fonts/bankgthl.ttf) format("truetype");
}
@font-face {
font-family: "MyriadPro";
src: local("Myriad Pro Light"), url(fonts/MyriadPro-Light.ttf) format("truetype");
}
@font-face {
font-family: "MyriadProSemiBold";
src: local("Myriad Pro Light"), url(fonts/MyriadPro-Semibold.ttf) format("truetype");
}
Could anybody please help me to fix font's problem? So far CEF has been a great help to implement the interface but I am kinda stuck with fonts. Any help would be highly appreciated.
Farooq-