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

setfont 在特殊情况下出现高概率失败现象 #88

Open
TheBadZhang opened this issue Mar 7, 2021 · 2 comments
Open

setfont 在特殊情况下出现高概率失败现象 #88

TheBadZhang opened this issue Mar 7, 2021 · 2 comments

Comments

@TheBadZhang
Copy link
Collaborator

#include <graphics.h>

int main () {
	
	initgraph(-1, -1, INIT_NOBORDER);
	setfont (40, 20, "仿宋_GB2312");
	for (;is_run();delay_fps(60), cleardevice()) {
		xyprintf(10, 20, "HELLO WORLD");
	}
	closegraph();
	return 0;
}

initgraph设置为全屏时,大概率会设置失败

@wysaid
Copy link
Owner

wysaid commented Apr 7, 2021

神奇的问题... @royqh1979 @chirsz-ever 知道咋回事么

@TheBadZhang
Copy link
Collaborator Author

神奇的问题... @royqh1979 @chirsz-ever 知道咋回事么

他们看了点,但是没有复现,我这边倒是概率复现,截图之前发在群里过

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

2 participants