Answer the question
In order to leave comments, you need to log in
Misunderstandings with displaying fonts through font-face?
I already wrote a topic about fonts, I thought that when generating a font, the letter Yoyo Yy does not appear.
If you look at the photo, on the left part of the text is taken from the php name (I need it so :)))) file, then json ajax request is transmitted, and then I substitute the text in <p></p>
And you can see what happens in the photo. Then I take it and write the same thing with my hands and everything is fine ...
I tried to look through fontlab studio for the character codes, everything seems to match ... Why this happens I can’t imagine ... maybe when transmitting somewhere it was messed up with codes ...
Answer the question
In order to leave comments, you need to log in
In general, I won ... I used this FontLab studio program, it seems to be under Windows, I did it on a poppy.
I did the following: firstly, in the font itself, initially ёЁ were under other codes, left them, but added the same characters but changed the codes to 0401 for Ё and 0451 for ё, then I took Ё copied, cut out the letter Ё itself, left only a colon, made from colon symbol with code 0308, and for Y did the same, deleted the letter itself, leaving only the upper part and made code 0306. Saved.
After that, as usual, I went to http://www.fontsquirrel.com, generated fonts... but when I opened it in FontLab studio, I found that there were no characters 0306 and 0308... I closed it, took what happened after FontLab, went to onlinefontconverter.com /,I generated the woff, eot, svg fonts I needed and tried to convert ttf with it in principle and worked in FontLab, then after generation I opened it in FontLab and miraculously the characters remained, replaced the old fonts, launched it, and lo and behold, everything worked!
You can see the 4th and 5th character in the first line
here is a good plate with codes www.unicode.org/charts/PDF/U0400.pdf
php.net/manual/ru/function.urlencode.php on the server
https://developer.mozilla.org/en-US/docs/Web/JavaS... on the client
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question