[squeak-dev] The Trunk: TrueType-mt.85.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Mar 7 10:21:06 UTC 2022


Marcel Taeumel uploaded a new version of TrueType to project The Trunk:
http://source.squeak.org/trunk/TrueType-mt.85.mcz

==================== Summary ====================

Name: TrueType-mt.85
Author: mt
Time: 7 March 2022, 11:21:05.458334 am
UUID: 07fedf8c-3448-7d4d-9ef2-1c8f78da250c
Ancestors: TrueType-mt.84

When listing all the font that can be found in a platform, ignore hidden/cache files, that is, the ones starting with a dot (e.g., '.SomeFont.ttf').

=============== Diff against TrueType-mt.84 ===============

Item was changed:
  ----- Method: TTFontFileHandle class>>allHandlesFromFontPaths: (in category 'instance creation') -----
  allHandlesFromFontPaths: somePaths
  
  	^ self allHandlesFromFontFileNames: (Array streamContents: [:fileNames |
  		somePaths do: [:path |
  			| fileDirectory |
  			fileDirectory := FileDirectory on: path.
  			(fileDirectory fileNamesMatching: self fileNamePattern) do: [:baseName |
+ 				(baseName first ~= $.) ifTrue: [ "No cache files from macOS or Linux"
+ 					fileNames nextPut: (fileDirectory fullNameFor: baseName)]]  ]])
- 				fileNames nextPut: (fileDirectory fullNameFor: baseName)]]])
  !



More information about the Squeak-dev mailing list