You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/raylib.h
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1474,8 +1474,10 @@ RLAPI int GetPixelDataSize(int width, int height, int format); // G
1474
1474
RLAPIFontGetFontDefault(void); // Get the default Font
1475
1475
RLAPIFontLoadFont(constchar*fileName); // Load font from file into GPU memory (VRAM)
1476
1476
RLAPIFontLoadFontEx(constchar*fileName, intfontSize, constint*codepoints, intcodepointCount); // Load font from file with extended parameters, use NULL for codepoints and 0 for codepointCount to load the default character set, font size is provided in pixels height
1477
+
RLAPIFontLoadFontExBitmap(constchar*fileName, intfontSize, constint*codepoints, intcodepointCount); // Load font from file with bitmap glyphs (no anti-aliasing for TTF/OTF)
1477
1478
RLAPIFontLoadFontFromImage(Imageimage, Colorkey, intfirstChar); // Load font from Image (XNA style)
1478
1479
RLAPIFontLoadFontFromMemory(constchar*fileType, constunsigned char*fileData, intdataSize, intfontSize, constint*codepoints, intcodepointCount); // Load font from memory buffer, fileType refers to extension: i.e. '.ttf'
1480
+
RLAPIFontLoadFontFromMemoryBitmap(constchar*fileType, constunsigned char*fileData, intdataSize, intfontSize, constint*codepoints, intcodepointCount); // Load font from memory buffer with bitmap glyphs (no anti-aliasing for TTF/OTF)
1479
1481
RLAPIboolIsFontValid(Fontfont); // Check if a font is valid (font data loaded, WARNING: GPU texture not checked)
1480
1482
RLAPIGlyphInfo*LoadFontData(constunsigned char*fileData, intdataSize, intfontSize, constint*codepoints, intcodepointCount, inttype, int*glyphCount); // Load font data for further use
1481
1483
RLAPIImageGenImageFontAtlas(constGlyphInfo*glyphs, Rectangle**glyphRecs, intglyphCount, intfontSize, intpadding, intpackMethod); // Generate image font atlas using chars info
0 commit comments