wtj
wtj
my solution is add "O_BINARY", tested ok on VS2017: char *file_read(const char *path, size_t *len) { fd = open(path, O_RDONLY | O_BINARY);
1.use chinese font, like simsun.ttf (not .ttc) 2.use string like : u8"中文" ,this is supported since vs2015
void fons__tt_renderGlyphBitmap(FONSttFontImpl *font, unsigned char *output, int outWidth, int outHeight, int outStride, float scaleX, float scaleY, int glyph) { FT_GlyphSlot ftGlyph = font->font->glyph; int x, y; FONS_NOTUSED(outWidth); FONS_NOTUSED(outHeight); FONS_NOTUSED(scaleX); FONS_NOTUSED(scaleY);...
microui with fixedsys font, project at: https://github.com/wtjcn/microui  font's bitmap file (fs16.map) can be edit in a text editor.
I have the same problem, when load to sram of 138k, nothing happen
for me, it not work. when write sram, it show "Erase SRAM double eraseSRAM", progress to 100% and "DONE", but the board's LEDs light continue in old ways. Both litex...
1) I found I used linux's FT2232 driver, because it can give /dev/ttyUSB device, although it does not realy work on mega138k 2) I run Gowin_USB_Cable_Installer.sh and then reboot, /dev/ttyUSB...
https://opensource.rock-chips.com/wiki_Rkdeveloptool use download boot command to **make target init DRAM** and run usbplug;
in CMakeLists.txt, change >> target_compile_definitions(lua PRIVATE LUA_COMPAT_5_2) to: >> target_compile_definitions(lua PRIVATE LUA_COMPAT_5_2 LUA_USE_POSIX)