mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	[font] Make display an auto-load, not a dependency (#7366)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
		
							
								
								
									
										23
									
								
								tests/components/font/test.host.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								tests/components/font/test.host.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,23 @@ | ||||
| font: | ||||
|   - file: "gfonts://Roboto" | ||||
|     id: roboto | ||||
|     size: 20 | ||||
|     glyphs: "0123456789." | ||||
|     extras: | ||||
|       - file: "gfonts://Roboto" | ||||
|         glyphs: ["\u00C4", "\u00C5", "\U000000C7"] | ||||
|   - file: "gfonts://Roboto" | ||||
|     id: roboto_web | ||||
|     size: 20 | ||||
|   - file: "https://github.com/IdreesInc/Monocraft/releases/download/v3.0/Monocraft.ttf" | ||||
|     id: monocraft | ||||
|     size: 20 | ||||
|   - file: | ||||
|       type: web | ||||
|       url: "https://github.com/IdreesInc/Monocraft/releases/download/v3.0/Monocraft.ttf" | ||||
|     id: monocraft2 | ||||
|     size: 24 | ||||
|   - file: $component_dir/Monocraft.ttf | ||||
|     id: monocraft3 | ||||
|     size: 28 | ||||
|  | ||||
		Reference in New Issue
	
	Block a user