Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000297MPfmUI | Custom Controls | Windows (WinForms)public2012-02-19 11:162012-03-11 19:43
Reporterycastonguay 
Assigned Toycastonguay 
PrioritynormalSeveritymajorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version0.4.3.0 
Target Version0.6.0.0Fixed in Version0.6.0.0 
Summary0000297: The embedded fonts aren't visible in design time (in Visual Studio)
DescriptionThis is because the controls can't find the path to MPfm.Fonts.dll.
The path to the executing assembly can be found only by running this code inside a control:

ITypeResolutionService typeResService = GetService(typeof(ITypeResolutionService)) as ITypeResolutionService;
if (typeResService != null)
{
    path = typeResService.GetPathOfAssembly(Assembly.GetExecutingAssembly().GetName());
}

This must be run outside of the constructor.
TagsNo tags attached.
Attached Files

- Relationships
child of 0000307assignedycastonguay Add themes (only for the Windows platform) 

-  Notes
(0000430)
svn (developer)
2012-02-19 11:40

The user admin has checked in files related to this issue (revision 323).

Comment:
MPfm 0.5.3.0
- The embedded fonts are now visible in Visual Studio for the Label control.
- Added a generic Control class with a LoadEmbeddedFonts method.

Related to issue 0000297.

Files modified:
U MPfm/branches/current/MPfm/Other Screens/frmThemes.Designer.cs
U MPfm/branches/current/MPfm.WindowsControls/Fonts/CustomFontEditor.cs
U MPfm/branches/current/MPfm.WindowsControls/Fonts/EmbeddedFontCollection.cs
U MPfm/branches/current/MPfm.WindowsControls/Fonts/EmbeddedFontHelper.cs
U MPfm/branches/current/MPfm.WindowsControls/Labels/Label.cs
U MPfm/branches/current/MPfm.WindowsControls/MPfm.WindowsControls.csproj
A MPfm/branches/current/MPfm.WindowsControls/Misc/Control.cs

(0000431)
svn (developer)
2012-02-19 15:33

The user admin has checked in files related to this issue (revision 324).

Comment:
MPfm 0.5.3.0
- Replaced the loading of embedded fonts with the new technique to allow embedded fonts
  to be visible at design time. All the controls are converted now.

Related to issue 0000297.

Files modified:
U MPfm/branches/current/MPfm.WindowsControls/Audio/OutputMeter.cs
U MPfm/branches/current/MPfm.WindowsControls/Audio/WaveFormDisplay.cs
U MPfm/branches/current/MPfm.WindowsControls/Buttons-Toolbars/Button.cs
U MPfm/branches/current/MPfm.WindowsControls/Labels/LinkLabel.cs
U MPfm/branches/current/MPfm.WindowsControls/Library/SongGridView.cs
U MPfm/branches/current/MPfm.WindowsControls/Misc/Control.cs
U MPfm/branches/current/MPfm.WindowsControls/Panel-Forms/Panel.cs


- Issue History
Date Modified Username Field Change
2012-02-19 11:16 ycastonguay New Issue
2012-02-19 11:16 ycastonguay Status new => assigned
2012-02-19 11:16 ycastonguay Assigned To => ycastonguay
2012-02-19 11:40 svn Checkin
2012-02-19 11:40 svn Note Added: 0000430
2012-02-19 15:33 svn Checkin
2012-02-19 15:33 svn Note Added: 0000431
2012-02-19 15:34 ycastonguay Status assigned => resolved
2012-02-19 15:34 ycastonguay Fixed in Version => 0.6.0.0
2012-02-19 15:34 ycastonguay Resolution open => fixed
2012-03-11 19:43 ycastonguay Relationship added child of 0000307
2012-04-17 19:10 ycastonguay Category Controls => Windows Controls
2012-04-24 20:59 ycastonguay Category Windows Controls => UI | Windows | Custom Controls
2012-04-24 20:59 ycastonguay Category UI | Windows | Custom Controls => Custom Controls | Windows
2012-04-24 21:00 ycastonguay Category Custom Controls | Windows => UI | Custom Controls | Windows
2012-04-24 21:01 ycastonguay Category UI | Custom Controls | Windows => UI | Custom Controls | Windows (WinForms)


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker