mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-11-04 07:01:04 +01:00 
			
		
		
		
	Fonts: added Cousine-Regular.ttf
This commit is contained in:
		@@ -28,6 +28,7 @@ int main(int, char**)
 | 
				
			|||||||
    // (see extra_fonts/README.txt for more details)
 | 
					    // (see extra_fonts/README.txt for more details)
 | 
				
			||||||
    //ImGuiIO& io = ImGui::GetIO();
 | 
					    //ImGuiIO& io = ImGui::GetIO();
 | 
				
			||||||
    //io.Fonts->AddFontDefault();
 | 
					    //io.Fonts->AddFontDefault();
 | 
				
			||||||
 | 
					    //io.Fonts->AddFontFromFileTTF("../../extra_fonts/Cousine-Regular.ttf", 15.0f);
 | 
				
			||||||
    //io.Fonts->AddFontFromFileTTF("../../extra_fonts/DroidSans.ttf", 16.0f);
 | 
					    //io.Fonts->AddFontFromFileTTF("../../extra_fonts/DroidSans.ttf", 16.0f);
 | 
				
			||||||
    //io.Fonts->AddFontFromFileTTF("../../extra_fonts/ProggyClean.ttf", 13.0f);
 | 
					    //io.Fonts->AddFontFromFileTTF("../../extra_fonts/ProggyClean.ttf", 13.0f);
 | 
				
			||||||
    //io.Fonts->AddFontFromFileTTF("../../extra_fonts/ProggyTiny.ttf", 10.0f);
 | 
					    //io.Fonts->AddFontFromFileTTF("../../extra_fonts/ProggyTiny.ttf", 10.0f);
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -154,6 +154,7 @@ int main(int, char**)
 | 
				
			|||||||
    // (see extra_fonts/README.txt for more details)
 | 
					    // (see extra_fonts/README.txt for more details)
 | 
				
			||||||
    //ImGuiIO& io = ImGui::GetIO();
 | 
					    //ImGuiIO& io = ImGui::GetIO();
 | 
				
			||||||
    //io.Fonts->AddFontDefault();
 | 
					    //io.Fonts->AddFontDefault();
 | 
				
			||||||
 | 
					    //io.Fonts->AddFontFromFileTTF("../../extra_fonts/Cousine-Regular.ttf", 15.0f);
 | 
				
			||||||
    //io.Fonts->AddFontFromFileTTF("../../extra_fonts/DroidSans.ttf", 16.0f);
 | 
					    //io.Fonts->AddFontFromFileTTF("../../extra_fonts/DroidSans.ttf", 16.0f);
 | 
				
			||||||
    //io.Fonts->AddFontFromFileTTF("../../extra_fonts/ProggyClean.ttf", 13.0f);
 | 
					    //io.Fonts->AddFontFromFileTTF("../../extra_fonts/ProggyClean.ttf", 13.0f);
 | 
				
			||||||
    //io.Fonts->AddFontFromFileTTF("../../extra_fonts/ProggyTiny.ttf", 10.0f);
 | 
					    //io.Fonts->AddFontFromFileTTF("../../extra_fonts/ProggyTiny.ttf", 10.0f);
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -78,6 +78,7 @@ int main(int, char**)
 | 
				
			|||||||
    // (see extra_fonts/README.txt for more details)
 | 
					    // (see extra_fonts/README.txt for more details)
 | 
				
			||||||
    //ImGuiIO& io = ImGui::GetIO();
 | 
					    //ImGuiIO& io = ImGui::GetIO();
 | 
				
			||||||
    //io.Fonts->AddFontDefault();
 | 
					    //io.Fonts->AddFontDefault();
 | 
				
			||||||
 | 
					    //io.Fonts->AddFontFromFileTTF("../../extra_fonts/Cousine-Regular.ttf", 15.0f);
 | 
				
			||||||
    //io.Fonts->AddFontFromFileTTF("../../extra_fonts/DroidSans.ttf", 16.0f);
 | 
					    //io.Fonts->AddFontFromFileTTF("../../extra_fonts/DroidSans.ttf", 16.0f);
 | 
				
			||||||
    //io.Fonts->AddFontFromFileTTF("../../extra_fonts/ProggyClean.ttf", 13.0f);
 | 
					    //io.Fonts->AddFontFromFileTTF("../../extra_fonts/ProggyClean.ttf", 13.0f);
 | 
				
			||||||
    //io.Fonts->AddFontFromFileTTF("../../extra_fonts/ProggyTiny.ttf", 10.0f);
 | 
					    //io.Fonts->AddFontFromFileTTF("../../extra_fonts/ProggyTiny.ttf", 10.0f);
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -34,6 +34,7 @@ int main(int, char**)
 | 
				
			|||||||
    // (see extra_fonts/README.txt for more details)
 | 
					    // (see extra_fonts/README.txt for more details)
 | 
				
			||||||
    //ImGuiIO& io = ImGui::GetIO();
 | 
					    //ImGuiIO& io = ImGui::GetIO();
 | 
				
			||||||
    //io.Fonts->AddFontDefault();
 | 
					    //io.Fonts->AddFontDefault();
 | 
				
			||||||
 | 
					    //io.Fonts->AddFontFromFileTTF("../../extra_fonts/Cousine-Regular.ttf", 15.0f);
 | 
				
			||||||
    //io.Fonts->AddFontFromFileTTF("../../extra_fonts/DroidSans.ttf", 16.0f);
 | 
					    //io.Fonts->AddFontFromFileTTF("../../extra_fonts/DroidSans.ttf", 16.0f);
 | 
				
			||||||
    //io.Fonts->AddFontFromFileTTF("../../extra_fonts/ProggyClean.ttf", 13.0f);
 | 
					    //io.Fonts->AddFontFromFileTTF("../../extra_fonts/ProggyClean.ttf", 13.0f);
 | 
				
			||||||
    //io.Fonts->AddFontFromFileTTF("../../extra_fonts/ProggyTiny.ttf", 10.0f);
 | 
					    //io.Fonts->AddFontFromFileTTF("../../extra_fonts/ProggyTiny.ttf", 10.0f);
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -26,6 +26,7 @@ int main(int, char**)
 | 
				
			|||||||
    // (see extra_fonts/README.txt for more details)
 | 
					    // (see extra_fonts/README.txt for more details)
 | 
				
			||||||
    //ImGuiIO& io = ImGui::GetIO();
 | 
					    //ImGuiIO& io = ImGui::GetIO();
 | 
				
			||||||
    //io.Fonts->AddFontDefault();
 | 
					    //io.Fonts->AddFontDefault();
 | 
				
			||||||
 | 
					    //io.Fonts->AddFontFromFileTTF("../../extra_fonts/Cousine-Regular.ttf", 15.0f);
 | 
				
			||||||
    //io.Fonts->AddFontFromFileTTF("../../extra_fonts/DroidSans.ttf", 16.0f);
 | 
					    //io.Fonts->AddFontFromFileTTF("../../extra_fonts/DroidSans.ttf", 16.0f);
 | 
				
			||||||
    //io.Fonts->AddFontFromFileTTF("../../extra_fonts/ProggyClean.ttf", 13.0f);
 | 
					    //io.Fonts->AddFontFromFileTTF("../../extra_fonts/ProggyClean.ttf", 13.0f);
 | 
				
			||||||
    //io.Fonts->AddFontFromFileTTF("../../extra_fonts/ProggyTiny.ttf", 10.0f);
 | 
					    //io.Fonts->AddFontFromFileTTF("../../extra_fonts/ProggyTiny.ttf", 10.0f);
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -30,6 +30,7 @@ int SDL_main(int, char**)
 | 
				
			|||||||
    // (see extra_fonts/README.txt for more details)
 | 
					    // (see extra_fonts/README.txt for more details)
 | 
				
			||||||
    //ImGuiIO& io = ImGui::GetIO();
 | 
					    //ImGuiIO& io = ImGui::GetIO();
 | 
				
			||||||
    //io.Fonts->AddFontDefault();
 | 
					    //io.Fonts->AddFontDefault();
 | 
				
			||||||
 | 
					    //io.Fonts->AddFontFromFileTTF("../../extra_fonts/Cousine-Regular.ttf", 15.0f);
 | 
				
			||||||
    //io.Fonts->AddFontFromFileTTF("../../extra_fonts/DroidSans.ttf", 16.0f);
 | 
					    //io.Fonts->AddFontFromFileTTF("../../extra_fonts/DroidSans.ttf", 16.0f);
 | 
				
			||||||
    //io.Fonts->AddFontFromFileTTF("../../extra_fonts/ProggyClean.ttf", 13.0f);
 | 
					    //io.Fonts->AddFontFromFileTTF("../../extra_fonts/ProggyClean.ttf", 13.0f);
 | 
				
			||||||
    //io.Fonts->AddFontFromFileTTF("../../extra_fonts/ProggyTiny.ttf", 10.0f);
 | 
					    //io.Fonts->AddFontFromFileTTF("../../extra_fonts/ProggyTiny.ttf", 10.0f);
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										
											BIN
										
									
								
								extra_fonts/Cousine-Regular.ttf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								extra_fonts/Cousine-Regular.ttf
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							@@ -30,6 +30,10 @@
 | 
				
			|||||||
 INCLUDED FONTS
 | 
					 INCLUDED FONTS
 | 
				
			||||||
---------------------------------
 | 
					---------------------------------
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					 Cousine-Regular.ttf
 | 
				
			||||||
 | 
					   Digitized data copyright (c) 2010 Google Corporation.
 | 
				
			||||||
 | 
					   Licensed under the SIL Open Font License, Version 1.1   
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 DroidSans.ttf
 | 
					 DroidSans.ttf
 | 
				
			||||||
   Copyright (c) Steve Matteson
 | 
					   Copyright (c) Steve Matteson
 | 
				
			||||||
   Apache License, version 2.0
 | 
					   Apache License, version 2.0
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user