Disable bold fonts
This commit is contained in:
		
							
								
								
									
										4
									
								
								x.c
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								x.c
									
									
									
									
									
								
							@@ -1166,13 +1166,13 @@ xmakeglyphfontspecs(XftGlyphFontSpec *specs, const Glyph *glyphs, int len, int x
 | 
			
		||||
			frcflags = FRC_NORMAL;
 | 
			
		||||
			runewidth = win.cw * ((mode & ATTR_WIDE) ? 2.0f : 1.0f);
 | 
			
		||||
			if ((mode & ATTR_ITALIC) && (mode & ATTR_BOLD)) {
 | 
			
		||||
				font = &dc.ibfont;
 | 
			
		||||
				font = &dc.ifont;
 | 
			
		||||
				frcflags = FRC_ITALICBOLD;
 | 
			
		||||
			} else if (mode & ATTR_ITALIC) {
 | 
			
		||||
				font = &dc.ifont;
 | 
			
		||||
				frcflags = FRC_ITALIC;
 | 
			
		||||
			} else if (mode & ATTR_BOLD) {
 | 
			
		||||
				font = &dc.bfont;
 | 
			
		||||
				font = &dc.font;
 | 
			
		||||
				frcflags = FRC_BOLD;
 | 
			
		||||
			}
 | 
			
		||||
			yp = winy + font->ascent;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user