Now italic and bold works.
This commit is contained in:
		
							
								
								
									
										2
									
								
								st.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								st.c
									
									
									
									
									
								
							@ -2423,7 +2423,7 @@ xdraws(char *s, Glyph base, int x, int y, int charlen, int bytelen) {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
	if(base.mode & ATTR_ITALIC)
 | 
						if(base.mode & ATTR_ITALIC)
 | 
				
			||||||
		font = &dc.ifont;
 | 
							font = &dc.ifont;
 | 
				
			||||||
	if(base.mode & (ATTR_ITALIC|ATTR_BOLD))
 | 
						if((base.mode & ATTR_ITALIC) && (base.mode & ATTR_BOLD))
 | 
				
			||||||
		font = &dc.ibfont;
 | 
							font = &dc.ibfont;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if(IS_SET(MODE_REVERSE)) {
 | 
						if(IS_SET(MODE_REVERSE)) {
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user