Font selection for colored text

Multi tool use
Multi tool use

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












I'm trying to set the font of my urxvt terminal. It seems to be working fine for text with no colors, whereas colored text is displayed differently: Non-colored text is showing fine



As you can see the colored upper-case letters have the same height as the x-height of the non-colored text. What gives?



For reference the font-related properties I have in my .Xdefaults is:



URxvt.allow_bold: true
URxvt*font: xft:source code pro:regular:pixelsize=18;hinting=True;antialias:True
URxvt*imFont: xft:source code pro:regular:pixelsize=18;hinting=True;antialias:True
URxvt*boldFont: xft:source code pro:semibold:pixelsize=18;hinting=True;antialias:True
URxvt*italicFont: xft:source code pro:italic:pixelsize=18;hinting=True;antialias:True
URxvt*boldItalicFont: xft:source code:semibold:italic:pixelsize=18;hinting=True;antialias:True
URxvt*letterSpace: -1






share|improve this question

















  • 1




    That's not just colored, that's colored and bold.
    – Ignacio Vazquez-Abrams
    May 2 at 21:58










  • Ah indeed. I've changed all the fonts to be the same family now. Yet it persists.
    – fredefox
    May 2 at 22:00










  • @fredefox In that case, can you please update your post to include the actual contents of .Xdefaults after changing fonts to the same family?
    – Filipe Brandenburger
    May 2 at 22:07










  • Absolutely. I've added a few more options as well. See update.
    – fredefox
    May 2 at 22:09










  • The boldItalicFont: seems to have a typo: xft:source code: is missing the pro.
    – meuh
    May 13 at 9:50














up vote
1
down vote

favorite












I'm trying to set the font of my urxvt terminal. It seems to be working fine for text with no colors, whereas colored text is displayed differently: Non-colored text is showing fine



As you can see the colored upper-case letters have the same height as the x-height of the non-colored text. What gives?



For reference the font-related properties I have in my .Xdefaults is:



URxvt.allow_bold: true
URxvt*font: xft:source code pro:regular:pixelsize=18;hinting=True;antialias:True
URxvt*imFont: xft:source code pro:regular:pixelsize=18;hinting=True;antialias:True
URxvt*boldFont: xft:source code pro:semibold:pixelsize=18;hinting=True;antialias:True
URxvt*italicFont: xft:source code pro:italic:pixelsize=18;hinting=True;antialias:True
URxvt*boldItalicFont: xft:source code:semibold:italic:pixelsize=18;hinting=True;antialias:True
URxvt*letterSpace: -1






share|improve this question

















  • 1




    That's not just colored, that's colored and bold.
    – Ignacio Vazquez-Abrams
    May 2 at 21:58










  • Ah indeed. I've changed all the fonts to be the same family now. Yet it persists.
    – fredefox
    May 2 at 22:00










  • @fredefox In that case, can you please update your post to include the actual contents of .Xdefaults after changing fonts to the same family?
    – Filipe Brandenburger
    May 2 at 22:07










  • Absolutely. I've added a few more options as well. See update.
    – fredefox
    May 2 at 22:09










  • The boldItalicFont: seems to have a typo: xft:source code: is missing the pro.
    – meuh
    May 13 at 9:50












up vote
1
down vote

favorite









up vote
1
down vote

favorite











I'm trying to set the font of my urxvt terminal. It seems to be working fine for text with no colors, whereas colored text is displayed differently: Non-colored text is showing fine



As you can see the colored upper-case letters have the same height as the x-height of the non-colored text. What gives?



For reference the font-related properties I have in my .Xdefaults is:



URxvt.allow_bold: true
URxvt*font: xft:source code pro:regular:pixelsize=18;hinting=True;antialias:True
URxvt*imFont: xft:source code pro:regular:pixelsize=18;hinting=True;antialias:True
URxvt*boldFont: xft:source code pro:semibold:pixelsize=18;hinting=True;antialias:True
URxvt*italicFont: xft:source code pro:italic:pixelsize=18;hinting=True;antialias:True
URxvt*boldItalicFont: xft:source code:semibold:italic:pixelsize=18;hinting=True;antialias:True
URxvt*letterSpace: -1






share|improve this question













I'm trying to set the font of my urxvt terminal. It seems to be working fine for text with no colors, whereas colored text is displayed differently: Non-colored text is showing fine



As you can see the colored upper-case letters have the same height as the x-height of the non-colored text. What gives?



For reference the font-related properties I have in my .Xdefaults is:



URxvt.allow_bold: true
URxvt*font: xft:source code pro:regular:pixelsize=18;hinting=True;antialias:True
URxvt*imFont: xft:source code pro:regular:pixelsize=18;hinting=True;antialias:True
URxvt*boldFont: xft:source code pro:semibold:pixelsize=18;hinting=True;antialias:True
URxvt*italicFont: xft:source code pro:italic:pixelsize=18;hinting=True;antialias:True
URxvt*boldItalicFont: xft:source code:semibold:italic:pixelsize=18;hinting=True;antialias:True
URxvt*letterSpace: -1








share|improve this question












share|improve this question




share|improve this question








edited May 2 at 22:09
























asked May 2 at 21:53









fredefox

62




62







  • 1




    That's not just colored, that's colored and bold.
    – Ignacio Vazquez-Abrams
    May 2 at 21:58










  • Ah indeed. I've changed all the fonts to be the same family now. Yet it persists.
    – fredefox
    May 2 at 22:00










  • @fredefox In that case, can you please update your post to include the actual contents of .Xdefaults after changing fonts to the same family?
    – Filipe Brandenburger
    May 2 at 22:07










  • Absolutely. I've added a few more options as well. See update.
    – fredefox
    May 2 at 22:09










  • The boldItalicFont: seems to have a typo: xft:source code: is missing the pro.
    – meuh
    May 13 at 9:50












  • 1




    That's not just colored, that's colored and bold.
    – Ignacio Vazquez-Abrams
    May 2 at 21:58










  • Ah indeed. I've changed all the fonts to be the same family now. Yet it persists.
    – fredefox
    May 2 at 22:00










  • @fredefox In that case, can you please update your post to include the actual contents of .Xdefaults after changing fonts to the same family?
    – Filipe Brandenburger
    May 2 at 22:07










  • Absolutely. I've added a few more options as well. See update.
    – fredefox
    May 2 at 22:09










  • The boldItalicFont: seems to have a typo: xft:source code: is missing the pro.
    – meuh
    May 13 at 9:50







1




1




That's not just colored, that's colored and bold.
– Ignacio Vazquez-Abrams
May 2 at 21:58




That's not just colored, that's colored and bold.
– Ignacio Vazquez-Abrams
May 2 at 21:58












Ah indeed. I've changed all the fonts to be the same family now. Yet it persists.
– fredefox
May 2 at 22:00




Ah indeed. I've changed all the fonts to be the same family now. Yet it persists.
– fredefox
May 2 at 22:00












@fredefox In that case, can you please update your post to include the actual contents of .Xdefaults after changing fonts to the same family?
– Filipe Brandenburger
May 2 at 22:07




@fredefox In that case, can you please update your post to include the actual contents of .Xdefaults after changing fonts to the same family?
– Filipe Brandenburger
May 2 at 22:07












Absolutely. I've added a few more options as well. See update.
– fredefox
May 2 at 22:09




Absolutely. I've added a few more options as well. See update.
– fredefox
May 2 at 22:09












The boldItalicFont: seems to have a typo: xft:source code: is missing the pro.
– meuh
May 13 at 9:50




The boldItalicFont: seems to have a typo: xft:source code: is missing the pro.
– meuh
May 13 at 9:50















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f441413%2ffont-selection-for-colored-text%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes










 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f441413%2ffont-selection-for-colored-text%23new-answer', 'question_page');

);

Post as a guest













































































d66D9 vmk5G76tW8eh4nwdL2D6VvzfuMzi1h B0iKfIIt8A WF3VwcUJ ApqdG0 i6rzO,b,dhJDlG0RwgVrcfL QF Q4
jDWaUmh89olXXZDu1 DW02,VOedMzmh

Popular posts from this blog

How to check contact read email or not when send email to Individual?

How many registers does an x86_64 CPU actually have?

Displaying single band from multi-band raster using QGIS