Pau Font
BRBuildShip + Rowy
•Created by Pau Font on 8/23/2024 in #❓・buildship-help
HTML to PDF Not using the FONTS I've specified
Hit her, I have little to no background on coding, so maybe it's my bad.
I have been trying to create a PDF document from an HTML, where in the head I specify the style of the text using a Google Font. However, the document generated does not use my style.
Here is what is in my head:
<html lang="en">
<head>
<style>
@font-face {
font-family: 'Lexend';
font-style: normal;
font-weight: 400;
src: url(data:font/woff2;charset=utf-8;base64, /* base64-encoded font data here */) format('woff2');
}
11 replies