| 123456789101112131415161718 |
- // Copyright 2016 Florian Pigorsch. All rights reserved.
- //
- // Use of this source code is governed by a MIT-style
- // license that can be found in the LICENSE file.
- package findfont
- import (
- "os"
- "path/filepath"
- )
- func getFontDirectories() (paths []string) {
- return []string{
- filepath.Join(os.Getenv("windir"), "Fonts"),
- filepath.Join(os.Getenv("localappdata"), "Microsoft", "Windows", "Fonts"),
- }
- }
|