#Question about fonts

48 messages · Page 1 of 1 (latest)

spring dust
#

Howdy!

So I really don't like serif font in Lapis and after trying a few other fonts I came to the conclusion that basic sans-serif looks the cleanest for me.

Question is: is it okay if I just use sans-serif for serif font? This is what I have now in styling section for fonts:

--font-serif: sans-serif;
--font-sans: "SF Pro Display", "Liberation Sans", "Segoe UI", "Hiragino Kaku Gothic ProN", "Noto Sans CJK JP", "Meiryo", HanaMinA, HanaMinB, sans-serif;

I might be overthinking, but I thought it's better to be sure it's not gonna cause problems down the line when I have hundreds or thousands of cards.

Appreciate any advice🙏

round vortexBOT
#

<@&1252261403667071056> Question about fonts

sullen dawn
#

Any mainstream japanese font is fine m Noto Sans JP looks the best to me so I use that, Meiryo is a super common one as well.

spring dust
#

I tried a few, but on mobile none seem to be working

#

I only use mobile anki

sullen dawn
#

Use whichever font you want it doesnt matter as long as you are able to read the kanji normally

sullen dawn
spring dust
#

I think I know. I just put it in styling like so:

--font-serif: "Noto Sans JP";

Right?

sullen dawn
#

I'm pretty sure you have to change all the fonts

#

But im not sure

#

try it

spring dust
#

Hmmm I put those two, now it looks like this:

--font-serif: "Noto Sans JP", "Meiryo";

#

but visually nothing changes

sullen dawn
#

Theres different stylings for mobile vs PC btw

spring dust
#

ah no nvm it does change

sullen dawn
#

okay how does it look now?

spring dust
#

yeah, I've noticed, mobile is a bit thinner usually

#

Hmm basically no matter what mobile looks the same

#

I even deleted the whole : --font-serif: "Noto Sans JP", "Meiryo";:

sullen dawn
#

That is sans serif

#

like the defualt font

spring dust
#

I guess it is like that on mobile

sullen dawn
#

for mobile

#

Is it not?

spring dust
#

This is also with "Noto Sans JP", "Meiryo";

#

yeah I think so I'm not sure

#

it's just this font with or without those two... Which is fine, I guess mobile just doesn't recognize other fonts or something idk

#

confusing a bit, which is why I thought I'd ask

sullen dawn
#

so isn't that what you want :o

spring dust
#

yes, it's just like I said, no matter which font I put in there, it always looks like this on mobile. Which I thought maybe I inputed the fonts in a wrong way or something and the app doesn't recognize it and reverts to a default sans-serif instead...😅

sullen dawn
#

i think you did something to break the CSS

#

i tested it

#

when I break the css

#

it defaults to a font

spring dust
#

hmmm

#

well this is what I was thinking, question is what

#

😄

sullen dawn
#

can you send the css :o?

spring dust
#

The whole thing?

sullen dawn
#

just the part thats relevant

spring dust
#

I only changed the "--font-serif:" line

#

The desktop version works fine I think, because if I do something to these fonts then it changes to the other one, the default one I guess.

sullen dawn
spring dust
#

Only mobile is like that, but I did change a few things in mobile dedicated code with help of chatgpt

sullen dawn
spring dust
#

I did a few customizations with chatgpt to mobile parts of code, but it did the job as intended so I don't think it broke anything...

#

Well okay, I guess I will try a few other fonts and if it's all the same, I'll just to wait and see if anything happens