From 59a8dadcee33343dd724e4e048f0a471f314452f Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Mon, 7 Oct 2019 14:41:09 -0700 Subject: Write Font table correctly --- .../Bind/CreateOutputFromIRCommand.cs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/WixToolset.Core.WindowsInstaller/Bind/CreateOutputFromIRCommand.cs') diff --git a/src/WixToolset.Core.WindowsInstaller/Bind/CreateOutputFromIRCommand.cs b/src/WixToolset.Core.WindowsInstaller/Bind/CreateOutputFromIRCommand.cs index 75a694d1..13db96fa 100644 --- a/src/WixToolset.Core.WindowsInstaller/Bind/CreateOutputFromIRCommand.cs +++ b/src/WixToolset.Core.WindowsInstaller/Bind/CreateOutputFromIRCommand.cs @@ -445,6 +445,14 @@ namespace WixToolset.Core.WindowsInstaller.Bind attributes |= (tuple.Attributes & FileTupleAttributes.System) == FileTupleAttributes.System ? WindowsInstallerConstants.MsidbFileAttributesSystem : 0; attributes |= (tuple.Attributes & FileTupleAttributes.Vital) == FileTupleAttributes.Vital ? WindowsInstallerConstants.MsidbFileAttributesVital : 0; row.Attributes = attributes; + + if (!String.IsNullOrEmpty(tuple.FontTitle)) + { + var fontTable = output.EnsureTable(this.TableDefinitions["Font"]); + var fontRow = fontTable.CreateRow(tuple.SourceLineNumbers); + fontRow[0] = tuple.Id.Id; + fontRow[1] = tuple.FontTitle; + } } private void AddIniFileTuple(IniFileTuple tuple, Output output) -- cgit v1.2.3-55-g6feb