harold92 / flying-saucer

Automatically exported from code.google.com/p/flying-saucer
0 stars 0 forks source link

small caps render as all caps #140

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create an html document w/ a span or div element that has text with some 
letters capitalized, others lowercase.
2. Define a css rule that makes that text display in small caps (i.e. The 
letters are all capital, but the ones that were originally lowercase are have 
smaller font size then the ones that were originally upper case). i.e.: 
font-variant: small-caps;
3. View the html file in a browser and make sure your changes took effect and 
display properly.
4. Generate a PDF file from that html document using flying-saucer.
5. View the PDF. Instead of displaying the text in small caps, the text is 
displayed in ALL caps, meaning there is no font-size difference between the 
"capital" and the "lowercase" letters.

What is the expected output? 
The letters are all capital, but the ones that were originally lowercase are 
have smaller font size then the ones that were originally upper case

What do you see instead?
Instead of displaying the text in small caps, the text is displayed in ALL 
caps, meaning there is no font-size difference between the "capital" and the 
"lowercase" letters.

What version of the product are you using? On what operating system?
R8

Please provide any additional information below.

Original issue reported on code.google.com by Creature...@gmail.com on 29 Mar 2011 at 6:08

Attachments: