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

Font related error previewing in VSC #50

Closed
nicholasf opened this issue Mar 17, 2020 · 2 comments
Closed

Font related error previewing in VSC #50

nicholasf opened this issue Mar 17, 2020 · 2 comments
Labels
Can't Fix Issue lies outside of this project.
Milestone

Comments

@nicholasf
Copy link

Hi,

Firstly, thanks for this repo, it's helped me get up and running quite quickly.

I have everything functioning for previews in VSC except I am seeing a red exclamation mark appear above my renders complaining about a font and what looks to be a security violation.

Error found in diagram Fabric Statements Rendering in CCM
2020-03-17 12:43:45.429 java[81535:1647976] CoreText note: Client requested name ".SFNS-Regular", it will get Times-Roman rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:].
2020-03-17 12:43:45.429 java[81535:1647976] CoreText note: Set a breakpoint on CTFontLogSystemFontNameRequest to debug.
2020-03-17 12:43:45.430 java[81535:1647976] CoreText note: Client requested name ".SFNS-Bold", it will get Times-Roman rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:].
2020-03-17 12:43:45.430 java[81535:1647976] CoreText note: Client requested name ".SFNSMono-Regular", it will get Times-Roman rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:].
2020-03-17 12:43:45.434 java[81535:1647976] CoreText note: Client requested name ".SFNSMono-Regular", it will get Times-Roman rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:].
2020-03-17 12:43:45.434 java[81535:1647976] CoreText note: Client requested name ".SFNSMono-Regular", it will get Times-Roman rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:].
2020-03-17 12:43:45.434 java[81535:1647976] CoreText note: Client requested name ".SFNS-Regular", it will get Times-Roman rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:].
2020-03-17 12:43:45.434 java[81535:1647976] CoreText note: Client requested name ".SFNS-Bold", it will get Times-Roman rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:].
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by net.sourceforge.plantuml.svg.SvgGraphics (file:/Users/faizn/.vscode/extensions/jebbs.plantuml-2.13.6/plantuml.jar) to constructor com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl()
WARNING: Please consider reporting this to the maintainers of net.sourceforge.plantuml.svg.SvgGraphics
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

I can work around this but I'm mentioning it in case it became a problem in future versions of the background software.

I've googled 'CoreText note: Client requested name ".SFNS-Regular", it will get Times-Roman rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:].' and quite a few projects are running into it.

https://www.google.com/search?q=CoreText+note%3A+Client+requested+name+%22.SFNS-Regular%22%2C+it+will+get+Times-Roman+rather+than+the+intended+font.+All+system+UI+font+access+should+be+through+proper+APIs+such+as+CTFontCreateUIFontForLanguage()+or+%2B%5BNSFont+systemFontOfSize%3A%5D.&oq=CoreText+note%3A+Client+requested+name+%22.SFNS-Regular%22%2C+it+will+get+Times-Roman+rather+than+the+intended+font.+All+system+UI+font+access+should+be+through+proper+APIs+such+as+CTFontCreateUIFontForLanguage()+or+%2B%5BNSFont+systemFontOfSize%3A%5D.&aqs=chrome..69i57.187j0j7&sourceid=chrome&ie=UTF-8

@stale
Copy link

stale bot commented Nov 22, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Nov 22, 2020
@Potherca Potherca added Can't Fix Issue lies outside of this project. and removed wontfix This will not be worked on labels Nov 22, 2020
@Potherca
Copy link
Member

Closing as this issue lies in the upstream VSCode plugin and can not be fixed in this repo.

@Potherca Potherca added this to the v2.0.0 milestone Apr 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Can't Fix Issue lies outside of this project.
Projects
Status: Done
Development

No branches or pull requests

2 participants