Category "fonts"

how can i fix pagespeed score when base64 font is treated as unused css

I embedded the font file directly into my css file in fontface as base64. Besides the font, I have about 150 css lines there. The pagespeed claims 60.5 KiB of 6

How do I access different font weights in NextJS?

I am stumped as to what I'm doing wrong. I have this code in my head: <link href="https://fonts.googleapis.com/css2family=Montserrat:wght@300;400;200&dis

Is there a way to convert an .eot to .woff or call another file in css

I have this big chunk of text that looks something like this: url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAAHnQABMAAAABHZAAAQAAAAAAAAAAAAAAAA

JavaFX - slider ticks displaying strange characters instead of numbers

I have these sliders here: And as you can see, they have the weirdest characters. How do I fix this/make them regular numbers? I've tried everything from setti

Build error with Nuxt 2.15.7 - Can't resolve a CSS @font-face URL

I am trying to build my project but there is an error during build process. I entered this command: yarn build then I saw this: ERROR in ./assets/css/main.css

Python 3.10.2 anti-aliased fonts not smoothing in Tkinter under SUSI Linux

I have a problem with font smoothing AKA anti-aliasing not working. I have provided a small Tkinter test code snippet that shows a grid of Tkinter labels that s

Font Awesome don't work on external website on chrome

Like a lot of people I am using internet, and i noticed a lot of website if was using suddenly had character change into something i didn't recognized. After di

What are XTRA, YOPQ, YTLC, etc. in CSS?

I'm reading a blog on Roboto Flex font which is a variable font, and I see mentions of Parametric Counter Width (XTRA in CSS) Parametric Thin Stroke (YOPQ in C

Drawing with drawString doesn't look good

The result of drawString with the same font and size in java The appearance is different when drawn with the same font and size in a painter (or word). Drawing

Open type font collections are causing errors with PdfPrintingCore "Font has no usable platform or encoding ID. It cannot be used with PDFEdit."

When printing any text in font type Cambria (or another .ttc font type) on Windows I get the following error message: Font has no usable platform or encoding ID

setting default font when tailwind fails?

If I use a universal selector in conjunction with tailwind, not all the elements resort to default. I want everything to default to Impact (in case tailwind doe

Object detection increase font size

I have an image being detected with bounding boxes but the font size too small for me. I have tried doing other ways like changing the arial.ttf, 24 line but no

Multiple Fonts In A Matplotlib Title

I am currently leveraging Matplotlib to generate a variety of graphics and want to use a series of custom fonts. I am specifically using the Milliard font packa

Pytesseract - using .traineddata file on hosted server (Heroku)

I have a Vue, Django integrated project. I hosted the Vue project on Netlify and the Django project on Heroku. A python script (integrated into Heroku) is calle

matplotlib set up font computer modern and bold

I would like to have a plot where the font are in "computer modern" (i.e. Latex style) but with x-ticks and y-ticks in bold. Due to the recent upgrade of matp

Bootstrap with font-weight: 500 looks "normal" on Firefox

I'm using Bootstrap and setting an element to use font-weight: 500 causes it to look medium/semi-bold in Chrome but normal-weight in Firefox on Windows: Chrome:

Self Hosted Font in material-ui theme component library not working

I'm building a component library to sit alongside some react apps within a monorepo, library is currently being consumed by app1 and displaying components expor

How to stop phone's default font size from influencing font size inside the Flutter app?

So I made a Flutter app. I defined all the font sizes to be dynamic (render properly as per the screen sizes). Everything was working great until I opened the a

Reveal.js is not preserving html small tags within Markdown slides

Markdown is supposed to preserve HTML tags within Markdown blocks, but a <small> tag within the markdown of a Reveal.js slide is being converted to a plai

How to load a Font from node_modules with Vite?

I'm trying to load a company font from a node_modules folder which only includes fonts and icons, it was working locally. At first, I thought it was because Vit