Font added locally.
This commit is contained in:
		
							parent
							
								
									ec2f7f033a
								
							
						
					
					
						commit
						3222df4919
					
				@ -75,7 +75,7 @@ SDL_AppResult SDL_AppInit(void **appstate, const int argc, char *argv[]) {
 | 
				
			|||||||
        SDL_LogError(SDL_LOG_CATEGORY_ERROR, "Failed to allocate memory for the font array: %s", SDL_GetError());
 | 
					        SDL_LogError(SDL_LOG_CATEGORY_ERROR, "Failed to allocate memory for the font array: %s", SDL_GetError());
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    FILE* FontFile = fopen("/usr/share/fonts/TTF/JetBrainsMonoNerdFont-Regular.ttf", "rb");
 | 
					    FILE* FontFile = fopen("resources/JetBrainsMonoNerdFont-Regular.ttf", "rb");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    fseek(FontFile, 0, SEEK_END);
 | 
					    fseek(FontFile, 0, SEEK_END);
 | 
				
			||||||
    const long FontSize = ftell(FontFile);
 | 
					    const long FontSize = ftell(FontFile);
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										
											BIN
										
									
								
								resources/JetBrainsMonoNerdFont-Regular.ttf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								resources/JetBrainsMonoNerdFont-Regular.ttf
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user