Browse Source

* UFontAwesomeV6: 更新为Font Awesome version: 6.7.2

master
Sunny 7 months ago
parent
commit
031be368e4
  1. 8
      SunnyUI.Demo/SunnyUI.Demo.csproj
  2. 4
      SunnyUI.Demo/packages.config
  3. 11
      SunnyUI/Font/UFontAwesomeV6.cs
  4. 11
      SunnyUI/Font/UFontImages.cs
  5. BIN
      SunnyUI/Font/fa-brands-400.ttf
  6. BIN
      SunnyUI/Font/fa-regular-400.ttf
  7. BIN
      SunnyUI/Font/fa-solid-900.ttf

8
SunnyUI.Demo/SunnyUI.Demo.csproj

@ -44,14 +44,14 @@
<Reference Include="SunnyUI, Version=3.8.1.0, Culture=neutral, PublicKeyToken=27d7d2e821d97aeb, processorArchitecture=MSIL">
<HintPath>..\packages\SunnyUI.3.8.1\lib\net472\SunnyUI.dll</HintPath>
</Reference>
<Reference Include="SunnyUI.COM, Version=6.5.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\SunnyUI.COM.6.5.0\lib\net472\SunnyUI.COM.dll</HintPath>
<Reference Include="SunnyUI.COM, Version=6.6.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\SunnyUI.COM.6.6.0\lib\net472\SunnyUI.COM.dll</HintPath>
</Reference>
<Reference Include="SunnyUI.Common, Version=3.8.1.0, Culture=neutral, PublicKeyToken=5a271fb7ba597231, processorArchitecture=MSIL">
<HintPath>..\packages\SunnyUI.Common.3.8.1\lib\net472\SunnyUI.Common.dll</HintPath>
</Reference>
<Reference Include="SunnyUI.FrameDecoder, Version=7.2.1.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\SunnyUI.FrameDecoder.7.2.1\lib\net472\SunnyUI.FrameDecoder.dll</HintPath>
<Reference Include="SunnyUI.FrameDecoder, Version=7.3.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\SunnyUI.FrameDecoder.7.3.0\lib\net472\SunnyUI.FrameDecoder.dll</HintPath>
</Reference>
<Reference Include="SunnyUI.Serialization, Version=6.5.2.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\SunnyUI.Serialization.6.5.2\lib\net472\SunnyUI.Serialization.dll</HintPath>

4
SunnyUI.Demo/packages.config

@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="SunnyUI" version="3.8.1" targetFramework="net472" />
<package id="SunnyUI.COM" version="6.5.0" targetFramework="net472" />
<package id="SunnyUI.COM" version="6.6.0" targetFramework="net472" />
<package id="SunnyUI.Common" version="3.8.1" targetFramework="net472" />
<package id="SunnyUI.FrameDecoder" version="7.2.1" targetFramework="net472" />
<package id="SunnyUI.FrameDecoder" version="7.3.0" targetFramework="net472" />
<package id="SunnyUI.Serialization" version="6.5.2" targetFramework="net472" />
<package id="System.Buffers" version="4.6.0" targetFramework="net472" />
<package id="System.Memory" version="4.6.0" targetFramework="net472" />

11
SunnyUI/Font/UFontAwesomeV6.cs

@ -12,8 +12,8 @@
* 使
******************************************************************************
* : UFontAwesomeV6.cs
* : FontAweSomeV6.7.1
* : V3.8.0
* : FontAweSomeV6.7.2
* : V3.8.1
* : 2023-04-23
*
* 2023-04-23: V3.3.5
@ -21,6 +21,7 @@
* 2024-06-27: V3.6.7
* 2024-07-21: V3.6.8 Font Awesome version: 6.6.0
* 2024-11-27: V3.8.0 Font Awesome version: 6.7.1
* 2025-01-06: V3.8.1 Font Awesome version: 6.7.2
******************************************************************************/
/******************************************************************************
@ -62,7 +63,7 @@ learn about Font Awesome.
namespace Sunny.UI;
///<summary>
///Font Awesome version: 6.7.1
///Font Awesome version: 6.7.2
///fa-regular-400.ttf
///Symbol count: 163
///</summary>
@ -234,7 +235,7 @@ public static class FontAweSomeV6Regular
}
///<summary>
///Font Awesome version: 6.7.1
///Font Awesome version: 6.7.2
///fa-brands-400.ttf
///Symbol count: 495
///</summary>
@ -738,7 +739,7 @@ public static class FontAweSomeV6Brands
}
///<summary>
///Font Awesome version: 6.7.1
///Font Awesome version: 6.7.2
///fa-solid-900.ttf
///Symbol count: 1402
///</summary>

11
SunnyUI/Font/UFontImages.cs

@ -96,8 +96,8 @@ namespace Sunny.UI
int item = GetFontSize(iconText, imageSize);
if (Fonts.ContainsKey(item + offset))
return Fonts[item + offset];
else if (Fonts.ContainsKey(item))
return Fonts[item];
else if (Fonts.TryGetValue(item, out Font font))
return font;
else
return null;
}
@ -191,7 +191,7 @@ namespace Sunny.UI
{
string path = @"D:\Temp\Font-Awesome-6.x\";
string scss = path + @"scss\_variables.scss";
string version = "Font Awesome version: 6.7.1";
string version = "Font Awesome version: 6.7.2";
string[] lines = File.ReadAllLines(scss);
@ -210,8 +210,8 @@ namespace Sunny.UI
* 使
******************************************************************************
* : UFontAwesomeV6.cs
* : FontAweSomeV6.7.1
* : V3.8.0
* : FontAweSomeV6.7.2
* : V3.8.1
* : 2023-04-23
*
* 2023-04-23: V3.3.5
@ -219,6 +219,7 @@ namespace Sunny.UI
* 2024-06-27: V3.6.7
* 2024-07-21: V3.6.8 Font Awesome version: 6.6.0
* 2024-11-27: V3.8.0 Font Awesome version: 6.7.1
* 2025-01-06: V3.8.1 Font Awesome version: 6.7.2
******************************************************************************/
/******************************************************************************

BIN
SunnyUI/Font/fa-brands-400.ttf

BIN
SunnyUI/Font/fa-regular-400.ttf

BIN
SunnyUI/Font/fa-solid-900.ttf

Loading…
Cancel
Save