Adding A Bitcoin Symbol

Before asking a question on FontCreator look here for possible solutions and tutorials. Please do not post support requests here.
Post Reply
Bhikkhu Pesala
Top Typographer
Top Typographer
Posts: 7498
Joined: Tue Oct 29, 2002 5:28 am
Location: Seven Kings, London UK
Contact:

Adding A Bitcoin Symbol

Post by Bhikkhu Pesala » Thu Jan 11, 2018 3:52 pm

The Bitcoin Symbol (dec 8383 hex $20BF) is new to Unicode 10.
  1. Insert the new character
  2. Add the code below to the correct position (by codepoint) after all of the other definitions for Currency Symbols in CompositeData.xml (i.e. before <!-- ¶¶ Combining Diacritical Marks for Symbols -->) or use my version of ComposteData.xml (attached)
  3. Use Complete Composites on the glyph
  4. Adjust the position of the vertical lines to suit your glyph
  5. Select all and use Get Union of Contours to combine the composite into a simple glyph
Bitcoin Symbol.png
Bitcoin Symbol.png (16.49 KiB) Viewed 1398 times
I added a definition to generate it to my copy of CompositeData.xml.

Code: Select all

<Composite><!-- Bitcoin -->
<GlyphMapping>8383</GlyphMapping>
	<Member id="1">
	<GlyphMapping>66</GlyphMapping>
		<UseMetrics>TRUE</UseMetrics>
	</Member>
	<Member id="2">
		<GlyphMapping>124</GlyphMapping>
			<XScale>0.5</XScale>
			<YScale>0.1</YScale>
	</Member>
	<Member id="3">
		<GlyphMapping>124</GlyphMapping>
			<XScale>0.5</XScale>
			<YScale>0.1</YScale>
	</Member>
	<Member id="4">
		<GlyphMapping>124</GlyphMapping>
			<XScale>0.5</XScale>
			<YScale>0.1</YScale>
	</Member>
	<Member id="5">
		<GlyphMapping>124</GlyphMapping>
			<XScale>0.5</XScale>
			<YScale>0.1</YScale>
	</Member>
	<AlignHorizontal>
		<Source>
			<Member>1</Member>
			<Position>Center</Position>
		</Source>
		<Dest>
			<Member>2</Member>
			<Position>Center</Position>
				<Offset>-100%</Offset>
		</Dest>
	</AlignHorizontal>
	<AlignHorizontal>
		<Source>
			<Member>1</Member>
			<Position>Center</Position>
		</Source>
		<Dest>
			<Member>3</Member>
			<Position>Center</Position>
				<Offset>100%</Offset>
		</Dest>
	</AlignHorizontal>
	<AlignHorizontal>
		<Source>
			<Member>1</Member>
			<Position>Center</Position>
		</Source>
		<Dest>
			<Member>4</Member>
			<Position>Center</Position>
				<Offset>-100%</Offset>
		</Dest>
	</AlignHorizontal>
	<AlignHorizontal>
		<Source>
			<Member>1</Member>
			<Position>Center</Position>
		</Source>
		<Dest>
			<Member>5</Member>
			<Position>Center</Position>
				<Offset>100%</Offset>
		</Dest>
	</AlignHorizontal>
	<AlignVertical>
		<Source>
			<Position>CapHeight</Position>
		</Source>
		<Dest>
			<Member>2</Member>
			<Position>Bottom</Position>
		</Dest>
	</AlignVertical>
	<AlignVertical>
		<Source>
			<Position>CapHeight</Position>
		</Source>
		<Dest>
			<Member>3</Member>
			<Position>Bottom</Position>
		</Dest>
	</AlignVertical>
	<AlignVertical>
		<Source>
			<Position>Baseline</Position>
		</Source>
		<Dest>
			<Member>4</Member>
			<Position>Top</Position>
		</Dest>
	</AlignVertical>
	<AlignVertical>
		<Source>
			<Position>Baseline</Position>
		</Source>
		<Dest>
			<Member>5</Member>
			<Position>Top</Position>
		</Dest>
	</AlignVertical>
	</Composite>
		<InheritRSB>TRUE</InheritRSB>
	</Member>
	<AlignHorizontal>
		<Source>
			<Member>1</Member>
			<Position>Center</Position>
		</Source>
		<Dest>
			<Member>2</Member>
			<Position>Left</Position>
		</Dest>
	</AlignHorizontal>
	</Composite>
Attachments
CompositeData.7z
Updated for FontCreator 11.5
(59.82 KiB) Downloaded 32 times
My FontsReviews: MainTypeFont CreatorHelpFC11.5 Pro + MT8.0 @ Win10 1803 build 17134.345

Post Reply