Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

some command is not work #1

Open
wlsee014 opened this issue Aug 18, 2016 · 3 comments
Open

some command is not work #1

wlsee014 opened this issue Aug 18, 2016 · 3 comments

Comments

@wlsee014
Copy link

hi,

\Omega is not work, but \omega is work

thx

@mksmbrtsh
Copy link
Owner

Hi, this is exactly the bug when I'm porting . The desktop version is no error. I will seek this error.

@mksmbrtsh
Copy link
Owner

Hi. I put this:
if((int)cf.c == 173 && cf.fontId == 18){
info = fontInfo[id];
Typeface font = Typeface.DEFAULT;
return new Char("\u03A9".charAt(0), font, id, getMetrics(cf, factor * fsize));
}
to DefaultTeXFont and fix this but. Kostili (костыли) crutches.

@zyy1214
Copy link

zyy1214 commented May 12, 2022

It seems that Canvas can't draw the text "\u00ad", and since \Omega is using this unicode place in jlm_cmr10.ttf and other font files, it can't be drawn normally. A possible solution is to create new ttf files with \Omega in other places such as \u00c6. I tested it and it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants