Topic: Cufon replacing bug in wiki on another languages.
Hello.
I've read a russians page of wiki on this site and i've seen that its author says that they could't change a titles.
It cause, becouse a cufon isn't includes a russian alphabet glyphs. I think, to prevent this situation in another languages there is meaning to change selectors in cufon.init.js from:
Cufon.replace('h1');
Cufon.replace('#menu');
Cufon.replace('h2');
Cufon.replace('h3');
Cufon.replace('h4');
Cufon.replace('h5');
Cufon.replace('h6');
Cufon.replace('dt');
Cufon.replace('#breadcrumbs');
Cufon.replace('3s');to:
Cufon.replace('#menu, h1, h2, h3, h4, h5, h6, dt, #breadcrumbs, 3s, !div.dokuwiki *');It remove cufon replacing from all of wiki contents.
Recompile a cufon-font file with full-glyphs are included will result in increase of font file, but much of users will not use this all.
Hope it would help.
Last edited by A (2010-07-13 18:35)

