Re: [GRASS-dev] [GRASS GIS] #2450: Grass7: improve font selection dialog in GUI option for map display

2017-02-01 Thread GRASS GIS
#2450: Grass7: improve font selection dialog in GUI option for map display
-+-
  Reporter:  hellik  |  Owner:  grass-dev@…
  Type:  | Status:  closed
  enhancement|
  Priority:  normal  |  Milestone:  7.2.1
 Component:  wxGUI   |Version:  unspecified
Resolution:  fixed   |   Keywords:  fonts dialog selection d.font
   CPU:  |  d.fontlist fontcap
  Unspecified|   Platform:  Unspecified
-+-
Changes (by wenzeslaus):

 * status:  new => closed
 * keywords:  fonts => fonts dialog selection d.font d.fontlist fontcap
 * resolution:   => fixed
 * milestone:  7.4.0 => 7.2.1


Comment:

 The Map Display tab and d.vect now have selection similar to what Map
 Display tab had before but with life preview of the font as rendered by
 GRASS GIS. I'm closing this as fixed. Done in r68713 and r68757. Available
 in 7.2.0.

--
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #2450: Grass7: improve font selection dialog in GUI option for map display

2014-10-16 Thread GRASS GIS
#2450: Grass7: improve font selection dialog in GUI option for map display
-+--
 Reporter:  hellik   |   Owner:  grass-dev@…  
 Type:  enhancement  |  Status:  new  
 Priority:  normal   |   Milestone:  7.0.0
Component:  wxGUI| Version:  unspecified  
 Keywords:  fonts|Platform:  Unspecified  
  Cpu:  Unspecified  |  
-+--

Comment(by glynn):

 Replying to [comment:1 annakrat]:
 > I would definitely agree, I just don't understand where d.fontlist takes
 the fonts
 d.fontlist gets the list via D_font_list(), which calls COM_Font_list(),
 which first reads the fonts from the file specified by $GRASS_FONT_CAP
 (falling back to $GISBASE/etc/fontcap), then adds any fonts obtained by
 the driver's Font_list method if provided (currently, only the cairo
 driver implements this method).

-- 
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #2450: Grass7: improve font selection dialog in GUI option for map display

2014-10-15 Thread GRASS GIS
#2450: Grass7: improve font selection dialog in GUI option for map display
-+--
 Reporter:  hellik   |   Owner:  grass-dev@…  
 Type:  enhancement  |  Status:  new  
 Priority:  normal   |   Milestone:  7.0.0
Component:  wxGUI| Version:  unspecified  
 Keywords:  fonts|Platform:  Unspecified  
  Cpu:  Unspecified  |  
-+--

Comment(by hellik):

 Replying to [comment:1 annakrat]:
 > I would definitely agree, I just don't understand where d.fontlist takes
 the fonts

 probably from this file
 ''C:\OSGeo4W\apps\grass\grass-7.1.svn\etc\fontcap''

-- 
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #2450: Grass7: improve font selection dialog in GUI option for map display

2014-10-15 Thread GRASS GIS
#2450: Grass7: improve font selection dialog in GUI option for map display
-+--
 Reporter:  hellik   |   Owner:  grass-dev@…  
 Type:  enhancement  |  Status:  new  
 Priority:  normal   |   Milestone:  7.0.0
Component:  wxGUI| Version:  unspecified  
 Keywords:  fonts|Platform:  Unspecified  
  Cpu:  Unspecified  |  
-+--

Comment(by annakrat):

 I would definitely agree, I just don't understand where d.fontlist takes
 the fonts and if they are always the same as in the other dialog.

-- 
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

[GRASS-dev] [GRASS GIS] #2450: Grass7: improve font selection dialog in GUI option for map display

2014-10-15 Thread GRASS GIS
#2450: Grass7: improve font selection dialog in GUI option for map display
-+--
 Reporter:  hellik   |   Owner:  grass-dev@…  
 Type:  enhancement  |  Status:  new  
 Priority:  normal   |   Milestone:  7.0.0
Component:  wxGUI| Version:  unspecified  
 Keywords:  fonts|Platform:  Unspecified  
  Cpu:  Unspecified  |  
-+--
 in the GUI options there are 2 tabs where you can choose fonts:

 (1) fonts in command output
 (2) fonts for map display

 in (1) there is a nice dialog, for (2) the dialogue is rudimentary (see
 screenshot attached).

 fontcap file content:

 {{{
 [...]
 cordiaub|CordiaUPC Bold|1|C:\Windows\Fonts\cordiaub.ttf|0|utf-8|
 cordiaui|CordiaUPC Italic|1|C:\Windows\Fonts\cordiaui.ttf|0|utf-8|
 cordiauz|CordiaUPC Bold Italic|1|C:\Windows\Fonts\cordiauz.ttf|0|utf-8|
 cordiaz|Cordia New Bold Italic|1|C:\Windows\Fonts\cordiaz.ttf|0|utf-8|
 cour|Courier New Regular|1|C:\Windows\Fonts\cour.ttf|0|utf-8|
 courbd|Courier New Bold|1|C:\Windows\Fonts\courbd.ttf|0|utf-8|
 courbi|Courier New Bold Italic|1|C:\Windows\Fonts\courbi.ttf|0|utf-8|
 couri|Courier New Italic|1|C:\Windows\Fonts\couri.ttf|0|utf-8|
 [...]
 }}}

 in (2) only the font acronym is displayed.

 maybe the nice dialog of (1) could be added to (2)?

 maybe it's also possible to add a font selection dialog to e.g. the d.vect
 font=string option?

-- 
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev