Dear expert,
I recently used anki to learn chinese characters, but a huge black box appeared on the review page of some entries. Could you correct this bug?Thank a lot.
Dear expert,
I recently used anki to learn chinese characters, but a huge black box appeared on the review page of some entries. Could you correct this bug?Thank a lot.
Hello,
if this happens for a certain card, does it always happen for that card? Is the black rectangle always located at the same place? Is it always of the same size? Does anything happen if you click on it, or drag-and-drop or any kind of interaction? Also, have you tried reviewing on an other Anki client? Maybe you could try at least reviewing from AnkiWeb, to see if this issue also happens there.
Also, could you please post the content of the templates of the cards for which this black box appears?
Hi
It does always appear on this card.
If edit this card and add some blank lines, the position and shape of this rectangle will change.
Cannot be clicked and dragged this rectangle.
This problem is not found in other clients such as ANKIWEB and PC.
template as below:
front template:
{{Word1}}
back template:
<span class="tiankai1">{{Word1}}</span>
<span class="tiankai1">{{Word2}}</span>
<hr id=answer>
<span class="jingxing2">{{Word1}}</span>
<hr id=answer>
<span class="wuxing3">{{Word1}}</span>
<hr id=answer>
<span class="tianxing6">{{Word1}}</span>
<hr id=answer>
{{Pic}}
styling:
.tiankai1 {
font-family: myfont1;
color: black;
background-color: white;
}
.jingxing2 {
font-family: myfont2;
color: black;
background-color: white;
}
.wuxing3 {
font-family: myfont3;
color: black;
background-color: white;
}
.gukai4 {
font-family: myfont4;
color: black;
background-color: white;
}
.guxing5 {
font-family: myfont5;
color: black;
background-color: white;
}
.tianxing6 {
font-family: myfont6;
color: black;
background-color: white;
}
@font-face {
font-family: myfont1;
src: url("_tiankai.ttf");
}
@font-face {
font-family: myfont2;
src: url("_jingxing.ttf");
}
@font-face {
font-family: myfont3;
src: url("_wuxing.ttf");
}
@font-face {
font-family: myfont4;
src: url("_gukai.ttf");
}
@font-face {
font-family: myfont5;
src: url("_guxing.ttf");
}
@font-face {
font-family: myfont6;
src: url("_tianxing.ttf");
}
.card1 {
font-family: 宋体;
font-size: 60px;
text-align: left;
background-color: #ffffff;
Hi
It does always appear on this card.
If edit this card and add some blank lines, the position and shape of this rectangle will change.
Cannot be clicked and dragged this rectangle.
This problem is not found in other clients such as ANKIWEB and PC.
template as below:
Do you think it could be related to your field named {{Pic}}? Could you post the content of a card (ie. the fields) that produces this black box?
The PIC field is used to save a screenshot of the font, and I double-checked all the fields, all of which are text.
I tried deleting this card and rebuilding the card and still have this problem. it’s really annoying.
Please select one of the problem cards in the Browse screen of the computer version, and move it to a new deck. Then please export the deck with media, and share it with us (eg using a file-sharing site), so we can try to reproduce the problem.
Hi thank you supporting my case. I have upload deck to follow link. Please click to download:)
https://pan.baidu.com/s/10TKOmfT5d_k1qMIcWzmnaw?pwd=7wg2
I’m sorry I’m unable to download from your link, I have the impression that it requires a baidu account, or maybe I’m blind and cannot find the direct download button?
Me either unfortunately. Could you try with gofile.io, or a similar site that doesn’t require a signup?
Thanks for reminding me. I re-uploaded this deck to following link:)
https://gofile.io/d/1PFcAb
Thanks, I was able to reproduce the problem here. It seems that your jingxing font does not support the character 瑷, and it is being displayed as a big black box instead. It is possible the font has some error in it, as the computer version doesn’t seem to want to load the font at all. If you adjust your template to use a different font, it should make the box go away.
Thank you very much, I deleted the character and the black box disappeared completely, it seems that there is something wrong with this fonts.
ANKI is a very powerful tool and I found a new feature to learn in writing, thanks again