First steps with text shaper

This commit is contained in:
Marcin Ziąbek
2021-04-29 11:18:16 +02:00
parent 4a7f9385c4
commit f884547d16
3 changed files with 37 additions and 5 deletions
+26 -1
View File
@@ -20,6 +20,31 @@ namespace QuestPDF.Examples
{
return new List<TextElement>
{
new TextElement()
{
Style = TextStyle.Default.Size(32).BackgroundColor(Placeholders.BackgroundColor()),
Text = "Podstawowy łaciński Tabela znaków Unicode"
},
new TextElement()
{
Style = TextStyle.Default.FontType("Segoe UI Emoji").Size(32).BackgroundColor(Placeholders.BackgroundColor()),
Text = "✔"
},
new TextElement()
{
Style = TextStyle.Default.FontType("Segoe UI Emoji").Size(32).BackgroundColor(Placeholders.BackgroundColor()),
Text = "🥛"
},
new TextElement()
{
Style = TextStyle.Default.FontType("Segoe UI Emoji").Size(32).BackgroundColor(Placeholders.BackgroundColor()),
Text = "🧀"
},
new TextElement()
{
Style = TextStyle.Default.FontType("Segoe UI Emoji").Size(32).BackgroundColor(Placeholders.BackgroundColor()),
Text = "❤🚵‍♀️"
},
new TextElement()
{
Style = TextStyle.Default.Size(32).BackgroundColor(Placeholders.BackgroundColor()),
@@ -55,7 +80,7 @@ namespace QuestPDF.Examples
//.Background(Placeholders.BackgroundColor())
.Element(new TextRun()
{
Elements = Source()
Elements = Lorem()
});
stack