enforcing using fontsets even if they are incomplete for some encodings
This commit is contained in:
		@@ -1,5 +1,5 @@
 | 
				
			|||||||
# dwm version
 | 
					# dwm version
 | 
				
			||||||
VERSION = 2.5.1
 | 
					VERSION = 2.6
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Customize below to fit your system
 | 
					# Customize below to fit your system
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										4
									
								
								draw.c
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								draw.c
									
									
									
									
									
								
							@@ -179,10 +179,6 @@ setfont(const char *fontstr) {
 | 
				
			|||||||
		while(n--)
 | 
							while(n--)
 | 
				
			||||||
			fprintf(stderr, "missing fontset: %s\n", missing[n]);
 | 
								fprintf(stderr, "missing fontset: %s\n", missing[n]);
 | 
				
			||||||
		XFreeStringList(missing);
 | 
							XFreeStringList(missing);
 | 
				
			||||||
		if(dc.font.set) {
 | 
					 | 
				
			||||||
			XFreeFontSet(dpy, dc.font.set);
 | 
					 | 
				
			||||||
			dc.font.set = NULL;
 | 
					 | 
				
			||||||
		}
 | 
					 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	if(dc.font.set) {
 | 
						if(dc.font.set) {
 | 
				
			||||||
		XFontSetExtents *font_extents;
 | 
							XFontSetExtents *font_extents;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user