Skip to content

Commit 2a532ca

Browse files
committed
Fixed small bug
1 parent af16b84 commit 2a532ca

File tree

2 files changed

+20
-18
lines changed

2 files changed

+20
-18
lines changed

Stb/Neslib.Stb.TrueType.pas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@ function stbtt_GetFontOffsetForIndex(const ATtfData: Pointer;
538538
539539
Returns:
540540
True on success. False on failure. }
541-
function stbtt_InitFont(out AInfo: TStbttFontInfo; const ATtfData: Pointer;
541+
function stbtt_InitFont(var AInfo: TStbttFontInfo; const ATtfData: Pointer;
542542
const AOffset: Integer): LongBool; cdecl;
543543
external STB_LIB name _PU + 'stbtt_InitFont';
544544

Tests/ImageTest/StbImageTest.dproj

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -300,10 +300,12 @@
300300
<VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
301301
<AppEnableHighDPI>true</AppEnableHighDPI>
302302
<DCC_RemoteDebug>false</DCC_RemoteDebug>
303+
<BT_BuildType>Debug</BT_BuildType>
303304
</PropertyGroup>
304305
<PropertyGroup Condition="'$(Cfg_1_Win64)'!=''">
305306
<AppEnableRuntimeThemes>true</AppEnableRuntimeThemes>
306307
<AppEnableHighDPI>true</AppEnableHighDPI>
308+
<BT_BuildType>Debug</BT_BuildType>
307309
</PropertyGroup>
308310
<PropertyGroup Condition="'$(Cfg_2)'!=''">
309311
<DCC_LocalDebugSymbols>false</DCC_LocalDebugSymbols>
@@ -427,15 +429,15 @@
427429
<Overwrite>true</Overwrite>
428430
</Platform>
429431
</DeployFile>
430-
<DeployFile LocalName="iOSDevice32\Release\StbImageTest" Configuration="Release" Class="ProjectOutput">
431-
<Platform Name="iOSDevice32">
432+
<DeployFile LocalName="iOSDevice64\Release\StbImageTest.dSYM" Configuration="Release" Class="ProjectiOSDeviceDebug">
433+
<Platform Name="iOSDevice64">
432434
<RemoteName>StbImageTest</RemoteName>
433435
<Overwrite>true</Overwrite>
434436
</Platform>
435437
</DeployFile>
436-
<DeployFile LocalName="Data\Test.pbm" Configuration="Release" Class="ProjectFile">
437-
<Platform Name="iOSDevice64">
438-
<RemoteDir>StartUp\Documents\</RemoteDir>
438+
<DeployFile LocalName="iOSDevice32\Release\StbImageTest" Configuration="Release" Class="ProjectOutput">
439+
<Platform Name="iOSDevice32">
440+
<RemoteName>StbImageTest</RemoteName>
439441
<Overwrite>true</Overwrite>
440442
</Platform>
441443
</DeployFile>
@@ -445,9 +447,9 @@
445447
<Overwrite>true</Overwrite>
446448
</Platform>
447449
</DeployFile>
448-
<DeployFile LocalName="iOSDevice64\Release\StbImageTest.dSYM" Configuration="Release" Class="ProjectiOSDeviceDebug">
450+
<DeployFile LocalName="Data\Test.pbm" Configuration="Release" Class="ProjectFile">
449451
<Platform Name="iOSDevice64">
450-
<RemoteName>StbImageTest</RemoteName>
452+
<RemoteDir>StartUp\Documents\</RemoteDir>
451453
<Overwrite>true</Overwrite>
452454
</Platform>
453455
</DeployFile>
@@ -538,6 +540,12 @@
538540
<Overwrite>true</Overwrite>
539541
</Platform>
540542
</DeployFile>
543+
<DeployFile LocalName="$(BDS)\bin\Artwork\iOS\iPhone\FM_LaunchImage_750x1334.png" Configuration="Release" Class="iPhone_Launch750">
544+
<Platform Name="iOSDevice32">
545+
<RemoteName>[email protected]</RemoteName>
546+
<Overwrite>true</Overwrite>
547+
</Platform>
548+
</DeployFile>
541549
<DeployFile LocalName="$(BDS)\bin\Artwork\iOS\iPhone\FM_LaunchImage_1242x2208.png" Configuration="Release" Class="iPhone_Launch1242">
542550
<Platform Name="iOSDevice64">
543551
<RemoteName>[email protected]</RemoteName>
@@ -549,24 +557,18 @@
549557
<Overwrite>true</Overwrite>
550558
</Platform>
551559
</DeployFile>
552-
<DeployFile LocalName="$(BDS)\bin\Artwork\iOS\iPad\FM_ApplicationIcon_144x144.png" Configuration="Release" Class="iPad_AppIcon144">
560+
<DeployFile LocalName="iOSDevice64\Release\StbImageTest.entitlements" Configuration="Release" Class="ProjectiOSEntitlements">
553561
<Platform Name="iOSDevice64">
554562
<Overwrite>true</Overwrite>
555563
</Platform>
556564
</DeployFile>
557-
<DeployFile LocalName="$(BDS)\bin\Artwork\iOS\iPad\FM_SpotlightSearchIcon_40x40.png" Configuration="Release" Class="iPad_SpotLight40">
558-
<Platform Name="iOSDevice32">
565+
<DeployFile LocalName="$(BDS)\bin\Artwork\iOS\iPad\FM_ApplicationIcon_144x144.png" Configuration="Release" Class="iPad_AppIcon144">
566+
<Platform Name="iOSDevice64">
559567
<Overwrite>true</Overwrite>
560568
</Platform>
561569
</DeployFile>
562-
<DeployFile LocalName="$(BDS)\bin\Artwork\iOS\iPhone\FM_LaunchImage_750x1334.png" Configuration="Release" Class="iPhone_Launch750">
570+
<DeployFile LocalName="$(BDS)\bin\Artwork\iOS\iPad\FM_SpotlightSearchIcon_40x40.png" Configuration="Release" Class="iPad_SpotLight40">
563571
<Platform Name="iOSDevice32">
564-
<RemoteName>[email protected]</RemoteName>
565-
<Overwrite>true</Overwrite>
566-
</Platform>
567-
</DeployFile>
568-
<DeployFile LocalName="iOSDevice64\Release\StbImageTest.entitlements" Configuration="Release" Class="ProjectiOSEntitlements">
569-
<Platform Name="iOSDevice64">
570572
<Overwrite>true</Overwrite>
571573
</Platform>
572574
</DeployFile>

0 commit comments

Comments
 (0)