<gh_stars>0
#MenuTitle: Review helper: reveall all notes and annotations
# -*- coding: utf-8 -*-
__doc__="""
Review helper, see all annotations/notes in current font project, including selected ones
"""

__copyright__ = 'Copyright (c) 2017, SIL International  (http://www.sil.org)'
__license__ = 'Released under the MIT License (http://opensource.org/licenses/MIT)'
__author__ = '<NAME>.'



# brings macro window to front and clears its log:
Glyphs.clearLog()
Glyphs.showMacroWindow()

for font in Glyphs.fonts:
	for instance in font.instances:
			if instance.active:
				layer = Glyphs.font.selectedLayers[0] # current layer

print "\nNotes in font project", font.familyName, font.filepath, "version", Glyphs.font.versionMajor, ".", Glyphs.font.versionMinor, ":", "\n", font.note

print  "\nOn-canvas glyphs annotations to review in selected layer :"
for annotation in layer.annotations:
	print layer, ":",  annotation.text

print  "\nNotes per glyphs to review across the whole font project :"
for glyph in font.glyphs:
	if not glyph.note == "None": or 	if not glyph.note == glyph.name:
		print glyph.name, ":", glyph.note

#MenuTitle: Review helper: reveall all notes and annotations
# -*- coding: utf-8 -*-
__doc__="""
Review helper, see all annotations/notes in current font project, including selected ones
"""

__copyright__ = 'Copyright (c) 2017, SIL International  (http://www.sil.org)'
__license__ = 'Released under the MIT License (http://opensource.org/licenses/MIT)'
__author__ = '<NAME>.'



# brings macro window to front and clears its log:
Glyphs.clearLog()
Glyphs.showMacroWindow()

for font in Glyphs.fonts:
	for instance in font.instances:
			if instance.active:
				layer = Glyphs.font.selectedLayers[0] # current layer

print "\nNotes in font project", font.familyName, font.filepath, "version", Glyphs.font.versionMajor, ".", Glyphs.font.versionMinor, ":", "\n", font.note

print  "\nOn-canvas glyphs annotations to review in selected layer :"
for annotation in layer.annotations:
	print layer, ":",  annotation.text

print  "\nNotes per glyphs to review across the whole font project :"
for glyph in font.glyphs:
	if not glyph.note == "None": or 	if not glyph.note == glyph.name:
		print glyph.name, ":", glyph.note
#MenuTitle: Review helper: reveall all notes and annotations # -*- coding: utf-8 -*- Review helper, see all annotations/notes in current font project, including selected ones # brings macro window to front and clears its log: # current layer