olimexsmart / SagraPOS

Easy to use POS application for small fairs, events, games, and obviously Italian-style sagre
0 stars 1 forks source link

Font not used #4

Open olimexsmart opened 2 months ago

olimexsmart commented 2 months ago

@Pingu94 I think that there might be a problem with the font after #3 , before I was loading the Roboto font hosted locally in assets/fonts, from styles.css below line 25. It seems now that it is on a fallback on a system default font.

I remember doing this because the font would be loaded from the Internet,which was not available when the application is deployed

Pingu94 commented 2 months ago

@Pingu94 I think that there might be a problem with the font after #3 , before I was loading the Roboto font hosted locally in assets/fonts, from styles.css below line 25. It seems now that it is on a fallback on a system default font.

I remember doing this because the font would be loaded from the Internet,which was not available when the application is deployed

@olimexsmart My bad, i did'n notice that. Maybe the new theme.scss is overriding the font defined in the style.css. I will definitely check It.🔍

olimexsmart commented 1 month ago

It's different somehow

BEFORE: beforePR

AFTER: afterPR

but other than being not relevant, I'm not sure which one is the correct one. The ideal situation is to have the default Angular font loaded from the local server (and then delete all the harness in styles.css, along with the all the messy .woff2 files).

I'd leave this as it is for the moment.

olimexsmart commented 1 month ago

While looking at this, look for a nice font to use in the order sidenav. The original idea was to mimic the final order layout. Would be nice to use a font similar to the one the thermal printer use. It is a very old-school monospace.