In a previous version of Prince I was using (version 9.2) I could select a specific weight and style for a font by simply using the full font name in my font-family declaration. For example, I could get "Palatino Bold Italic" by setting my font-family declaration like this:
I've tried setting fonts this way in version 9.5 and 10.7 and it no longer works. It can't find the font and goes back to the fallback font.
In these newer versions I can only get "Palatino Bold Italic" if I use the family name in the font-family declaration, and then set the font-weight and font-style properties, like this:
In most cases this works just fine for me, but I'm working with a couple of Korean fonts where I can't get the specific weight I need by setting the font-weight property. It always goes back to the lightest weight of that font no matter what I set the font-weight to.
So I'm wondering if this is a bug, or if the intended behavior is that you should no longer be able to set a font using the full font name.
font-family: "Palatino Bold Italic";
I've tried setting fonts this way in version 9.5 and 10.7 and it no longer works. It can't find the font and goes back to the fallback font.
In these newer versions I can only get "Palatino Bold Italic" if I use the family name in the font-family declaration, and then set the font-weight and font-style properties, like this:
font-family: "Palatino";
font-weight: bold;
font-style: italic;
In most cases this works just fine for me, but I'm working with a couple of Korean fonts where I can't get the specific weight I need by setting the font-weight property. It always goes back to the lightest weight of that font no matter what I set the font-weight to.
So I'm wondering if this is a bug, or if the intended behavior is that you should no longer be able to set a font using the full font name.