Change font size

Older eyes mean some of the earlier cards I made have too small a font for me to see comfortably now. I have multiple decks with multiple note types, multiple language fonts. What is the best / simplest way to alter the font size on everything?

I recommend using the Anki Zoom add-on. (this does not exactly change font size, but it’s the simplest for what you want).

Or you can try the User interface size option in the preferences (it makes everything blurry for me).

1 Like

Just to add another option is changing the font-size:20px; inside .card styling to a larger quantity of pixels. SP for the default styling:

.card 

font-family: arial;
font-size: 20px;
text-align: center;
color: black;
background-color: white;
}

to

.card {
font-family: arial;
font-size: 33px;
text-align: center;
color: black;
background-color: white;
}
3 Likes

Yeah, though this requires manually tweaking all note types

Yeah I really need clarify and permenancymso will pass on the zoom suggestion for now but will bear it in mind

yep this is what I’ve been being. Ideally was looking for a universal change. TX

The following in the debug console should be able to override your card styling globally.

mw.col.conf['reviewExtra']="<style>.card { font-size: 50px; }</style>"

https://docs.ankiweb.net/#/misc?id=debug-console

2 Likes

I’ve changed the font size as per guillempalausalva’s instructions above. The cards are now much better, Tx
BUT when I am in the Browse screen on my desktop the text in the fields is still too small for my taste (still too grey/fuzzy), Can I alter this font and font size as well?

If you click on Fields… you can set any font an size that will be seen when in browser mode and not in the template.

Untitled

3 Likes

I tried that, but it changes the card fields for the card, not the Browse listing at the top which is where I have the issue

I understand now. Have you tried Set Font Size add-on ?

Gillem, tx that helps. The Browse listing text is now much clearer.
The only slight issue is with some of the Hanzi (Chinese) characters which seem to have some strokes darker than others ( my red circles) and on the whole don’t look so stong in the strokes, more like they were done with a wobbly old hand :slight_smile: , whilst other characters look much fainter (pink circles)

I guess the Hanzi are displayed with composite font i.e. a second font is used when a given glyph is not found in order to display all text. What you can do is try a font you know ithat has all chars (glyths) and override the font. I suggest trying Google Noto fonts.

I’ll take a look at that. Tx for all your help today. I’ve just encountered a synching issue!! So better check that out first.

Ok User error!! Time to take a break :slight_smile:

@dfae Apologies I don’t understand what I am meant to do with the text. Where do I put it?

Tx

S

Please see the link I included under the text

@dae Yes I understood that part and followed the link, opened the Debug Console, entered the text you gave, Ctrl Return and this gives

mw.col.conf[‘reviewExtra’]=".card { font-size: 50px; }"

Now I am lost! Never used the Debug Console before . This where I don’t know what to do

S

You don’t have to do anything after entering the text and pressing Ctrl+Return. you should see <no output> printed below along with the command you typed, and font size should change.

If you got different output, could you post it?

1 Like