Bug 38113 - Fonts display as styles and families
Summary: Fonts display as styles and families
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: iOS Designer ()
Version: unspecified
Hardware: PC Mac OS
: --- normal
Target Milestone: master
Assignee: Bugzilla
Depends on:
Reported: 2016-01-27 23:19 UTC by Cody Beyer (MSFT)
Modified: 2017-07-20 15:47 UTC (History)
5 users (show)

Is this bug a regression?: ---
Last known good build:

TestCase (345.87 KB, application/zip)
2016-01-27 23:19 UTC, Cody Beyer (MSFT)

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Cody Beyer (MSFT) 2016-01-27 23:19:16 UTC
Created attachment 14761 [details]

# Description

The following app demonstrates an issue with font styles, where loading a set of custom fonts and its associated styles (for example, Open Sans with Italic and Bold) will show the font as both a family, with bold and italic as styles, and as separate families for bold and italic.

# Sample


# Steps to Reproduce

1. Download Sample
2. Open in Xamarin Studio
3. Open Main.storyboard
4. Select the label
5. Attempt to change the font
6. Select Open Sans
7. Select Styles and notice Italic, Bold and Regular
8. Select Open Sans - Italic

# Expected Results

Open Sans - Italic should only be present as a style, not as a separate family

# Actual Results

Italic and Bold are listed as both styles and as a separate family

# Versions

=== Xamarin Studio ===

Version 5.10.2 (build 55)
Installation UUID: 1059abb8-2ddb-429a-a3e0-30e18f5f4731
	Mono 4.3.0 (mono-4.3.1-branch/37d269c)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 403002114

=== Xamarin.Profiler ===

Not Installed

=== Xamarin.Android ===

Version: (Business Edition)
Android SDK: /Users/codybeyer/Library/Developer/Xamarin/android-sdk-macosx
	Supported Android versions:
		4.0.3 (API level 15)
		4.4   (API level 19)
		6.0   (API level 23)

SDK Tools Version: 24.4.1
SDK Platform Tools Version: 23.1.0
SDK Build Tools Version: 23.0.2

Java SDK: /usr
java version "1.7.0_71"
Java(TM) SE Runtime Environment (build 1.7.0_71-b14)
Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode)

=== Xamarin Android Player ===

Version: 0.6.5
Location: /Applications/Xamarin Android Player.app

=== Apple Developer Tools ===

Xcode 7.2 (9548)
Build 7C68

=== Xamarin.iOS ===

Version: (Business Edition)
Hash: 47eb74b4
Branch: master
Build date: 2016-01-20 17:06:01-0500

=== Xamarin.Mac ===

Version: (Business Edition)

=== Build Information ===

Release ID: 510020055
Git revision: 7c95611a8097853826b8ee411887a1f88cf83add
Build date: 2016-01-19 22:23:27-05
Xamarin addins: 9816bee7ff5ab3845ef51354dc687010422beb68
Build lane: monodevelop-lion-cycle6-c6sr1

=== Operating System ===

Mac OS X 10.11.3
Darwin Codys-Laptop.local 15.3.0 Darwin Kernel Version 15.3.0
	Thu Dec 10 18:40:58 PST 2015
	root:xnu-3248.30.4~1/RELEASE_X86_64 x86_64
Comment 1 Jose Medrano 2016-04-11 00:20:39 UTC
I checked this issue and we have the same behaviour and code like XCode
Could you screencast the problem or give me more information?

Comment 2 Amy Burns 2017-07-18 22:17:22 UTC
Thanks so much for taking the time to submit this report! I attempted to reproduce this issue based on the bug description with the latest Visual Studio 2017 for Mac Preview version 7.1, and I was unable to hit the problem. If this issue is still occurring for you, please reopen this report and attach a reproduction, ideally starting with a new template project and then adding just the code necessary to demonstrate the issue.