-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
908087: Embed Segoe UI Emoji Fonts in SfPdfViewer
- Loading branch information
1 parent
e034cac
commit 2b932dc
Showing
46 changed files
with
2,683 additions
and
0 deletions.
There are no files selected for viewing
Binary file added
BIN
+176 Bytes
...ection/.vs/LoadFontCollection/FileContentIndex/0e050871-ba24-4a20-a752-2a12059e378d.vsidx
Binary file not shown.
Binary file added
BIN
+187 Bytes
...ection/.vs/LoadFontCollection/FileContentIndex/162f09a9-a734-4c31-99aa-9d407a94891b.vsidx
Binary file not shown.
Binary file added
BIN
+107 Bytes
...ection/.vs/LoadFontCollection/FileContentIndex/46d93677-6f6e-4e54-8bb3-04f3849b9b6c.vsidx
Binary file not shown.
Binary file added
BIN
+107 Bytes
...ection/.vs/LoadFontCollection/FileContentIndex/493e5571-74c2-4064-9add-3c8642ac9ede.vsidx
Binary file not shown.
Binary file added
BIN
+300 KB
...ection/.vs/LoadFontCollection/FileContentIndex/df4ec99c-2f22-40d6-953c-950362c39da7.vsidx
Binary file not shown.
1,021 changes: 1,021 additions & 0 deletions
1,021
...n in PDF document/LoadFontCollection/.vs/LoadFontCollection/config/applicationhost.config
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file added
BIN
+42 KB
...e/Load font collection in PDF document/LoadFontCollection/.vs/LoadFontCollection/v17/.suo
Binary file not shown.
122 changes: 122 additions & 0 deletions
122
... in PDF document/LoadFontCollection/.vs/LoadFontCollection/v17/DocumentLayout.backup.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,122 @@ | ||
{ | ||
"Version": 1, | ||
"WorkspaceRootPath": "D:\\LoadFontCollection\\", | ||
"Documents": [ | ||
{ | ||
"AbsoluteMoniker": "D:0:0:{683EE24A-069D-46F9-9D79-AD035EDFB2B7}|LoadFontCollection\\LoadFontCollection.csproj|d:\\loadfontcollection\\loadfontcollection\\loadfontcollection.csproj||{FA3CD31E-987B-443A-9B81-186104E8DAC1}|", | ||
"RelativeMoniker": "D:0:0:{683EE24A-069D-46F9-9D79-AD035EDFB2B7}|LoadFontCollection\\LoadFontCollection.csproj|solutionrelative:loadfontcollection\\loadfontcollection.csproj||{FA3CD31E-987B-443A-9B81-186104E8DAC1}|" | ||
}, | ||
{ | ||
"AbsoluteMoniker": "D:0:0:{683EE24A-069D-46F9-9D79-AD035EDFB2B7}|LoadFontCollection\\LoadFontCollection.csproj|d:\\loadfontcollection\\loadfontcollection\\pages\\index.razor||{40D31677-CBC0-4297-A9EF-89D907823A98}", | ||
"RelativeMoniker": "D:0:0:{683EE24A-069D-46F9-9D79-AD035EDFB2B7}|LoadFontCollection\\LoadFontCollection.csproj|solutionrelative:loadfontcollection\\pages\\index.razor||{40D31677-CBC0-4297-A9EF-89D907823A98}" | ||
}, | ||
{ | ||
"AbsoluteMoniker": "D:0:0:{683EE24A-069D-46F9-9D79-AD035EDFB2B7}|LoadFontCollection\\LoadFontCollection.csproj|d:\\loadfontcollection\\loadfontcollection\\pages\\_layout.cshtml||{40D31677-CBC0-4297-A9EF-89D907823A98}", | ||
"RelativeMoniker": "D:0:0:{683EE24A-069D-46F9-9D79-AD035EDFB2B7}|LoadFontCollection\\LoadFontCollection.csproj|solutionrelative:loadfontcollection\\pages\\_layout.cshtml||{40D31677-CBC0-4297-A9EF-89D907823A98}" | ||
}, | ||
{ | ||
"AbsoluteMoniker": "D:0:0:{683EE24A-069D-46F9-9D79-AD035EDFB2B7}|LoadFontCollection\\LoadFontCollection.csproj|d:\\loadfontcollection\\loadfontcollection\\pages\\_host.cshtml||{40D31677-CBC0-4297-A9EF-89D907823A98}", | ||
"RelativeMoniker": "D:0:0:{683EE24A-069D-46F9-9D79-AD035EDFB2B7}|LoadFontCollection\\LoadFontCollection.csproj|solutionrelative:loadfontcollection\\pages\\_host.cshtml||{40D31677-CBC0-4297-A9EF-89D907823A98}" | ||
}, | ||
{ | ||
"AbsoluteMoniker": "D:0:0:{683EE24A-069D-46F9-9D79-AD035EDFB2B7}|LoadFontCollection\\LoadFontCollection.csproj|d:\\loadfontcollection\\loadfontcollection\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", | ||
"RelativeMoniker": "D:0:0:{683EE24A-069D-46F9-9D79-AD035EDFB2B7}|LoadFontCollection\\LoadFontCollection.csproj|solutionrelative:loadfontcollection\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" | ||
}, | ||
{ | ||
"AbsoluteMoniker": "D:0:0:{683EE24A-069D-46F9-9D79-AD035EDFB2B7}|LoadFontCollection\\LoadFontCollection.csproj|d:\\loadfontcollection\\loadfontcollection\\_imports.razor||{40D31677-CBC0-4297-A9EF-89D907823A98}", | ||
"RelativeMoniker": "D:0:0:{683EE24A-069D-46F9-9D79-AD035EDFB2B7}|LoadFontCollection\\LoadFontCollection.csproj|solutionrelative:loadfontcollection\\_imports.razor||{40D31677-CBC0-4297-A9EF-89D907823A98}" | ||
} | ||
], | ||
"DocumentGroupContainers": [ | ||
{ | ||
"Orientation": 0, | ||
"VerticalTabListWidth": 256, | ||
"DocumentGroups": [ | ||
{ | ||
"DockedWidth": 200, | ||
"SelectedChildIndex": 0, | ||
"Children": [ | ||
{ | ||
"$type": "Document", | ||
"DocumentIndex": 0, | ||
"Title": "LoadFontCollection", | ||
"DocumentMoniker": "D:\\LoadFontCollection\\LoadFontCollection\\LoadFontCollection.csproj", | ||
"RelativeDocumentMoniker": "LoadFontCollection\\LoadFontCollection.csproj", | ||
"ToolTip": "D:\\LoadFontCollection\\LoadFontCollection\\LoadFontCollection.csproj", | ||
"RelativeToolTip": "LoadFontCollection\\LoadFontCollection.csproj", | ||
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAoAAABHAAAAAAAAAA==", | ||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000758|", | ||
"WhenOpened": "2024-09-17T12:46:03.955Z", | ||
"EditorCaption": "" | ||
}, | ||
{ | ||
"$type": "Document", | ||
"DocumentIndex": 1, | ||
"Title": "Index.razor", | ||
"DocumentMoniker": "D:\\LoadFontCollection\\LoadFontCollection\\Pages\\Index.razor", | ||
"RelativeDocumentMoniker": "LoadFontCollection\\Pages\\Index.razor", | ||
"ToolTip": "D:\\LoadFontCollection\\LoadFontCollection\\Pages\\Index.razor", | ||
"RelativeToolTip": "LoadFontCollection\\Pages\\Index.razor", | ||
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAA==", | ||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000759|", | ||
"WhenOpened": "2024-09-17T12:45:50.777Z", | ||
"EditorCaption": "" | ||
}, | ||
{ | ||
"$type": "Document", | ||
"DocumentIndex": 2, | ||
"Title": "_Layout.cshtml", | ||
"DocumentMoniker": "D:\\LoadFontCollection\\LoadFontCollection\\Pages\\_Layout.cshtml", | ||
"RelativeDocumentMoniker": "LoadFontCollection\\Pages\\_Layout.cshtml", | ||
"ToolTip": "D:\\LoadFontCollection\\LoadFontCollection\\Pages\\_Layout.cshtml", | ||
"RelativeToolTip": "LoadFontCollection\\Pages\\_Layout.cshtml", | ||
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAkAAAAWAAAAAAAAAA==", | ||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000759|", | ||
"WhenOpened": "2024-09-17T12:45:26.747Z", | ||
"EditorCaption": "" | ||
}, | ||
{ | ||
"$type": "Document", | ||
"DocumentIndex": 3, | ||
"Title": "_Host.cshtml", | ||
"DocumentMoniker": "D:\\LoadFontCollection\\LoadFontCollection\\Pages\\_Host.cshtml", | ||
"RelativeDocumentMoniker": "LoadFontCollection\\Pages\\_Host.cshtml", | ||
"ToolTip": "D:\\LoadFontCollection\\LoadFontCollection\\Pages\\_Host.cshtml", | ||
"RelativeToolTip": "LoadFontCollection\\Pages\\_Host.cshtml", | ||
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", | ||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000759|", | ||
"WhenOpened": "2024-09-17T12:45:25.45Z", | ||
"EditorCaption": "" | ||
}, | ||
{ | ||
"$type": "Document", | ||
"DocumentIndex": 4, | ||
"Title": "Program.cs", | ||
"DocumentMoniker": "D:\\LoadFontCollection\\LoadFontCollection\\Program.cs", | ||
"RelativeDocumentMoniker": "LoadFontCollection\\Program.cs", | ||
"ToolTip": "D:\\LoadFontCollection\\LoadFontCollection\\Program.cs", | ||
"RelativeToolTip": "LoadFontCollection\\Program.cs", | ||
"ViewState": "AgIAAAAAAAAAAAAAAAAAAA0AAAAaAAAAAAAAAA==", | ||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", | ||
"WhenOpened": "2024-09-17T12:44:53.127Z", | ||
"EditorCaption": "" | ||
}, | ||
{ | ||
"$type": "Document", | ||
"DocumentIndex": 5, | ||
"Title": "_Imports.razor", | ||
"DocumentMoniker": "D:\\LoadFontCollection\\LoadFontCollection\\_Imports.razor", | ||
"RelativeDocumentMoniker": "LoadFontCollection\\_Imports.razor", | ||
"ToolTip": "D:\\LoadFontCollection\\LoadFontCollection\\_Imports.razor", | ||
"RelativeToolTip": "LoadFontCollection\\_Imports.razor", | ||
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAsAAAAlAAAAAAAAAA==", | ||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000759|", | ||
"WhenOpened": "2024-09-17T12:44:38.902Z", | ||
"EditorCaption": "" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} |
122 changes: 122 additions & 0 deletions
122
...lection in PDF document/LoadFontCollection/.vs/LoadFontCollection/v17/DocumentLayout.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,122 @@ | ||
{ | ||
"Version": 1, | ||
"WorkspaceRootPath": "D:\\LoadFontCollection\\", | ||
"Documents": [ | ||
{ | ||
"AbsoluteMoniker": "D:0:0:{683EE24A-069D-46F9-9D79-AD035EDFB2B7}|LoadFontCollection\\LoadFontCollection.csproj|d:\\loadfontcollection\\loadfontcollection\\pages\\index.razor||{40D31677-CBC0-4297-A9EF-89D907823A98}", | ||
"RelativeMoniker": "D:0:0:{683EE24A-069D-46F9-9D79-AD035EDFB2B7}|LoadFontCollection\\LoadFontCollection.csproj|solutionrelative:loadfontcollection\\pages\\index.razor||{40D31677-CBC0-4297-A9EF-89D907823A98}" | ||
}, | ||
{ | ||
"AbsoluteMoniker": "D:0:0:{683EE24A-069D-46F9-9D79-AD035EDFB2B7}|LoadFontCollection\\LoadFontCollection.csproj|d:\\loadfontcollection\\loadfontcollection\\loadfontcollection.csproj||{FA3CD31E-987B-443A-9B81-186104E8DAC1}|", | ||
"RelativeMoniker": "D:0:0:{683EE24A-069D-46F9-9D79-AD035EDFB2B7}|LoadFontCollection\\LoadFontCollection.csproj|solutionrelative:loadfontcollection\\loadfontcollection.csproj||{FA3CD31E-987B-443A-9B81-186104E8DAC1}|" | ||
}, | ||
{ | ||
"AbsoluteMoniker": "D:0:0:{683EE24A-069D-46F9-9D79-AD035EDFB2B7}|LoadFontCollection\\LoadFontCollection.csproj|d:\\loadfontcollection\\loadfontcollection\\pages\\_layout.cshtml||{40D31677-CBC0-4297-A9EF-89D907823A98}", | ||
"RelativeMoniker": "D:0:0:{683EE24A-069D-46F9-9D79-AD035EDFB2B7}|LoadFontCollection\\LoadFontCollection.csproj|solutionrelative:loadfontcollection\\pages\\_layout.cshtml||{40D31677-CBC0-4297-A9EF-89D907823A98}" | ||
}, | ||
{ | ||
"AbsoluteMoniker": "D:0:0:{683EE24A-069D-46F9-9D79-AD035EDFB2B7}|LoadFontCollection\\LoadFontCollection.csproj|d:\\loadfontcollection\\loadfontcollection\\pages\\_host.cshtml||{40D31677-CBC0-4297-A9EF-89D907823A98}", | ||
"RelativeMoniker": "D:0:0:{683EE24A-069D-46F9-9D79-AD035EDFB2B7}|LoadFontCollection\\LoadFontCollection.csproj|solutionrelative:loadfontcollection\\pages\\_host.cshtml||{40D31677-CBC0-4297-A9EF-89D907823A98}" | ||
}, | ||
{ | ||
"AbsoluteMoniker": "D:0:0:{683EE24A-069D-46F9-9D79-AD035EDFB2B7}|LoadFontCollection\\LoadFontCollection.csproj|d:\\loadfontcollection\\loadfontcollection\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", | ||
"RelativeMoniker": "D:0:0:{683EE24A-069D-46F9-9D79-AD035EDFB2B7}|LoadFontCollection\\LoadFontCollection.csproj|solutionrelative:loadfontcollection\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" | ||
}, | ||
{ | ||
"AbsoluteMoniker": "D:0:0:{683EE24A-069D-46F9-9D79-AD035EDFB2B7}|LoadFontCollection\\LoadFontCollection.csproj|d:\\loadfontcollection\\loadfontcollection\\_imports.razor||{40D31677-CBC0-4297-A9EF-89D907823A98}", | ||
"RelativeMoniker": "D:0:0:{683EE24A-069D-46F9-9D79-AD035EDFB2B7}|LoadFontCollection\\LoadFontCollection.csproj|solutionrelative:loadfontcollection\\_imports.razor||{40D31677-CBC0-4297-A9EF-89D907823A98}" | ||
} | ||
], | ||
"DocumentGroupContainers": [ | ||
{ | ||
"Orientation": 0, | ||
"VerticalTabListWidth": 256, | ||
"DocumentGroups": [ | ||
{ | ||
"DockedWidth": 200, | ||
"SelectedChildIndex": 1, | ||
"Children": [ | ||
{ | ||
"$type": "Document", | ||
"DocumentIndex": 1, | ||
"Title": "LoadFontCollection", | ||
"DocumentMoniker": "D:\\LoadFontCollection\\LoadFontCollection\\LoadFontCollection.csproj", | ||
"RelativeDocumentMoniker": "LoadFontCollection\\LoadFontCollection.csproj", | ||
"ToolTip": "D:\\LoadFontCollection\\LoadFontCollection\\LoadFontCollection.csproj*", | ||
"RelativeToolTip": "LoadFontCollection\\LoadFontCollection.csproj*", | ||
"ViewState": "AgIAAAAAAAAAAAAAAAAAAA0AAAAAAAAAAAAAAA==", | ||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000758|", | ||
"WhenOpened": "2024-09-17T12:46:03.955Z", | ||
"EditorCaption": "" | ||
}, | ||
{ | ||
"$type": "Document", | ||
"DocumentIndex": 0, | ||
"Title": "Index.razor", | ||
"DocumentMoniker": "D:\\LoadFontCollection\\LoadFontCollection\\Pages\\Index.razor", | ||
"RelativeDocumentMoniker": "LoadFontCollection\\Pages\\Index.razor", | ||
"ToolTip": "D:\\LoadFontCollection\\LoadFontCollection\\Pages\\Index.razor", | ||
"RelativeToolTip": "LoadFontCollection\\Pages\\Index.razor", | ||
"ViewState": "AgIAAAYAAAAAAAAAAAAAABIAAAA/AAAAAAAAAA==", | ||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000759|", | ||
"WhenOpened": "2024-09-17T12:45:50.777Z", | ||
"EditorCaption": "" | ||
}, | ||
{ | ||
"$type": "Document", | ||
"DocumentIndex": 2, | ||
"Title": "_Layout.cshtml", | ||
"DocumentMoniker": "D:\\LoadFontCollection\\LoadFontCollection\\Pages\\_Layout.cshtml", | ||
"RelativeDocumentMoniker": "LoadFontCollection\\Pages\\_Layout.cshtml", | ||
"ToolTip": "D:\\LoadFontCollection\\LoadFontCollection\\Pages\\_Layout.cshtml", | ||
"RelativeToolTip": "LoadFontCollection\\Pages\\_Layout.cshtml", | ||
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAkAAAAWAAAAAAAAAA==", | ||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000759|", | ||
"WhenOpened": "2024-09-17T12:45:26.747Z", | ||
"EditorCaption": "" | ||
}, | ||
{ | ||
"$type": "Document", | ||
"DocumentIndex": 3, | ||
"Title": "_Host.cshtml", | ||
"DocumentMoniker": "D:\\LoadFontCollection\\LoadFontCollection\\Pages\\_Host.cshtml", | ||
"RelativeDocumentMoniker": "LoadFontCollection\\Pages\\_Host.cshtml", | ||
"ToolTip": "D:\\LoadFontCollection\\LoadFontCollection\\Pages\\_Host.cshtml", | ||
"RelativeToolTip": "LoadFontCollection\\Pages\\_Host.cshtml", | ||
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", | ||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000759|", | ||
"WhenOpened": "2024-09-17T12:45:25.45Z", | ||
"EditorCaption": "" | ||
}, | ||
{ | ||
"$type": "Document", | ||
"DocumentIndex": 4, | ||
"Title": "Program.cs", | ||
"DocumentMoniker": "D:\\LoadFontCollection\\LoadFontCollection\\Program.cs", | ||
"RelativeDocumentMoniker": "LoadFontCollection\\Program.cs", | ||
"ToolTip": "D:\\LoadFontCollection\\LoadFontCollection\\Program.cs", | ||
"RelativeToolTip": "LoadFontCollection\\Program.cs", | ||
"ViewState": "AgIAAAAAAAAAAAAAAAAAAA0AAAAaAAAAAAAAAA==", | ||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", | ||
"WhenOpened": "2024-09-17T12:44:53.127Z", | ||
"EditorCaption": "" | ||
}, | ||
{ | ||
"$type": "Document", | ||
"DocumentIndex": 5, | ||
"Title": "_Imports.razor", | ||
"DocumentMoniker": "D:\\LoadFontCollection\\LoadFontCollection\\_Imports.razor", | ||
"RelativeDocumentMoniker": "LoadFontCollection\\_Imports.razor", | ||
"ToolTip": "D:\\LoadFontCollection\\LoadFontCollection\\_Imports.razor", | ||
"RelativeToolTip": "LoadFontCollection\\_Imports.razor", | ||
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAsAAAAlAAAAAAAAAA==", | ||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000759|", | ||
"WhenOpened": "2024-09-17T12:44:38.902Z", | ||
"EditorCaption": "" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} |
25 changes: 25 additions & 0 deletions
25
Load and Save/Load font collection in PDF document/LoadFontCollection/LoadFontCollection.sln
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio Version 17 | ||
VisualStudioVersion = 17.11.35208.52 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LoadFontCollection", "LoadFontCollection\LoadFontCollection.csproj", "{683EE24A-069D-46F9-9D79-AD035EDFB2B7}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{683EE24A-069D-46F9-9D79-AD035EDFB2B7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{683EE24A-069D-46F9-9D79-AD035EDFB2B7}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{683EE24A-069D-46F9-9D79-AD035EDFB2B7}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{683EE24A-069D-46F9-9D79-AD035EDFB2B7}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(ExtensibilityGlobals) = postSolution | ||
SolutionGuid = {13ED8C74-B35B-4C01-A751-C89770D2F53D} | ||
EndGlobalSection | ||
EndGlobal |
12 changes: 12 additions & 0 deletions
12
...Save/Load font collection in PDF document/LoadFontCollection/LoadFontCollection/App.razor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<Router AppAssembly="@typeof(App).Assembly"> | ||
<Found Context="routeData"> | ||
<RouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)" /> | ||
<FocusOnNavigate RouteData="@routeData" Selector="h1" /> | ||
</Found> | ||
<NotFound> | ||
<PageTitle>Not found</PageTitle> | ||
<LayoutView Layout="@typeof(MainLayout)"> | ||
<p role="alert">Sorry, there's nothing at this address.</p> | ||
</LayoutView> | ||
</NotFound> | ||
</Router> |
13 changes: 13 additions & 0 deletions
13
... collection in PDF document/LoadFontCollection/LoadFontCollection/Data/WeatherForecast.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
namespace LoadFontCollection.Data | ||
{ | ||
public class WeatherForecast | ||
{ | ||
public DateTime Date { get; set; } | ||
|
||
public int TemperatureC { get; set; } | ||
|
||
public int TemperatureF => 32 + (int)(TemperatureC / 0.5556); | ||
|
||
public string? Summary { get; set; } | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
...tion in PDF document/LoadFontCollection/LoadFontCollection/Data/WeatherForecastService.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
namespace LoadFontCollection.Data | ||
{ | ||
public class WeatherForecastService | ||
{ | ||
private static readonly string[] Summaries = new[] | ||
{ | ||
"Freezing", "Bracing", "Chilly", "Cool", "Mild", "Warm", "Balmy", "Hot", "Sweltering", "Scorching" | ||
}; | ||
|
||
public Task<WeatherForecast[]> GetForecastAsync(DateTime startDate) | ||
{ | ||
return Task.FromResult(Enumerable.Range(1, 5).Select(index => new WeatherForecast | ||
{ | ||
Date = startDate.AddDays(index), | ||
TemperatureC = Random.Shared.Next(-20, 55), | ||
Summary = Summaries[Random.Shared.Next(Summaries.Length)] | ||
}).ToArray()); | ||
} | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
...ollection in PDF document/LoadFontCollection/LoadFontCollection/LoadFontCollection.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<Project Sdk="Microsoft.NET.Sdk.Web"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>net6.0</TargetFramework> | ||
<Nullable>enable</Nullable> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Syncfusion.Blazor.SfPdfViewer" Version="*" /> | ||
<PackageReference Include="Syncfusion.Blazor.Themes" Version="*" /> | ||
</ItemGroup> | ||
|
||
</Project> |
18 changes: 18 additions & 0 deletions
18
...font collection in PDF document/LoadFontCollection/LoadFontCollection/Pages/Counter.razor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
@page "/counter" | ||
|
||
<PageTitle>Counter</PageTitle> | ||
|
||
<h1>Counter</h1> | ||
|
||
<p role="status">Current count: @currentCount</p> | ||
|
||
<button class="btn btn-primary" @onclick="IncrementCount">Click me</button> | ||
|
||
@code { | ||
private int currentCount = 0; | ||
|
||
private void IncrementCount() | ||
{ | ||
currentCount++; | ||
} | ||
} |
42 changes: 42 additions & 0 deletions
42
... font collection in PDF document/LoadFontCollection/LoadFontCollection/Pages/Error.cshtml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
@page | ||
@model LoadFontCollection.Pages.ErrorModel | ||
|
||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> | ||
<title>Error</title> | ||
<link href="~/css/bootstrap/bootstrap.min.css" rel="stylesheet" /> | ||
<link href="~/css/site.css" rel="stylesheet" asp-append-version="true" /> | ||
</head> | ||
|
||
<body> | ||
<div class="main"> | ||
<div class="content px-4"> | ||
<h1 class="text-danger">Error.</h1> | ||
<h2 class="text-danger">An error occurred while processing your request.</h2> | ||
|
||
@if (Model.ShowRequestId) | ||
{ | ||
<p> | ||
<strong>Request ID:</strong> <code>@Model.RequestId</code> | ||
</p> | ||
} | ||
|
||
<h3>Development Mode</h3> | ||
<p> | ||
Swapping to the <strong>Development</strong> environment displays detailed information about the error that occurred. | ||
</p> | ||
<p> | ||
<strong>The Development environment shouldn't be enabled for deployed applications.</strong> | ||
It can result in displaying sensitive information from exceptions to end users. | ||
For local debugging, enable the <strong>Development</strong> environment by setting the <strong>ASPNETCORE_ENVIRONMENT</strong> environment variable to <strong>Development</strong> | ||
and restarting the app. | ||
</p> | ||
</div> | ||
</div> | ||
</body> | ||
|
||
</html> |
Oops, something went wrong.