This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| glyphBit(const FT_GlyphSlot &glyph, const int x, const int y) | |
| { | |
| int pitch = abs(glyph->bitmap.pitch); | |
| unsigned char *row = &glyph->bitmap.buffer[pitch * y]; | |
| char cValue = row[x >> 3]; | |
| return (cValue & (128 >> (x & 7))) != 0; | |
| } | |
| // When update() is called, we scan through each character and look in the m_glyph_images map |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/bash | |
| export XCURSOR_SIZE=24 | |
| export QT_QPA_PLATFORMTHEME=qt5ct # change to qt6ct if you have that | |
| export ELECTRON_OZONE_PLATFORM_HINT=auto | |
| export GDK_BACKEND=wayland,x11 | |
| export SDL_VIDEODRIVER=wayland | |
| export CLUTTER_BACKEND=wayland | |
| export MOZ_ENABLE_WAYLAND=1 | |
| export MOZ_DISABLE_RDD_SANDBOX=1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // the simplest MEGA65 test | |
| .cpu _45gs02 | |
| * = $2001 | |
| .word basend // next BASIC line | |
| .word 1206 // line # | |
| .byte $fe,$02,$30 // BANK 0 | |
| .byte $3a,$9e // :SYS |
OlderNewer