6 Commits

Author SHA1 Message Date
e9baf01af0 Update rc version.
All checks were successful
Build / build (push) Successful in 2m11s
2024-06-21 12:46:53 +03:00
e238a7aa57 Fix incorrect ABI for GlyphSlotInteral on windows. 2024-06-21 12:46:34 +03:00
827b9fc902 Change freetype ABI.
All checks were successful
Build / build (push) Successful in 2m14s
2024-06-21 12:27:08 +03:00
ad8845c13b Change the directory again.
All checks were successful
Build / build (push) Successful in 2m14s
2024-06-20 15:13:35 +03:00
a77f4c8be5 Fix cmake compile options?
Some checks failed
Build / build (push) Failing after 36s
2024-06-20 15:12:36 +03:00
db07a2daff Modify build script.
All checks were successful
Build / build (push) Successful in 38s
2024-06-20 15:04:39 +03:00
4 changed files with 10 additions and 5 deletions

View File

@@ -11,7 +11,7 @@
<!-- Nuget Properties. -->
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<PackageId>ReFuel.FreeType</PackageId>
<Version>0.1.0-rc.1</Version>
<Version>0.1.0-rc.3</Version>
<Authors>FreeType Authors, H. Utku Maden</Authors>
<Description>
A C# wrapper for the FreeType font loading library.

View File

@@ -112,8 +112,8 @@ namespace ReFuel.FreeType
public uint GlyphIndex;
public FTGeneric Generic;
public FTGlyphMetrics Metrics;
public long LinearHorizontalAdvance;
public long LinearVerticalAdvance;
public int LinearHorizontalAdvance;
public int LinearVerticalAdvance;
public FTVector Advance;
public int Format;
public FTBitmap Bitmap;

View File

@@ -5,7 +5,12 @@ export CMAKE_DIR="$PWD/docker-cross-compiler/cmake"
export NOINSTALL=1
export REFUEL_ADDITIONAL_CMAKE="-D BUILD_SHARED_LIBS=true -D NO_SONAME=true"
./docker-cross-compiler/sh/build_native.sh "$PWD/freetype"
# Clang Builds
./docker-cross-compiler/sh/build_native.sh "$PWD/freetype" "osx-arm64 osx-x64"
# GCC Builds
export REFUEL_ADDITIONAL_CMAKE="$REFUEL_ADDITIONAL_CMAKE -D COMPILE_OPTIONS=\"-static-libgcc;-static-libstdc++;-fno-exceptions\""
./docker-cross-compiler/sh/build_native.sh "$PWD/freetype" "linux-arm linux-arm64 linux-x64 win-x64 win-x86"
# Copy out natives from their respective directories into runtimes
mkdir -p \