---
title: "ATSFontActivateFromFileReference(_:_:_:_:_:_:)"
framework: Application Services
role: symbol
role_heading: Function
platforms: [Mac Catalyst 13.1+]
path: applicationservices/1563693-atsfontactivatefromfilereference
---

# ATSFontActivateFromFileReference(_:_:_:_:_:_:)

## Declaration

```swift
func ATSFontActivateFromFileReference(_ iFile: UnsafePointer<FSRef>!, _ iContext: ATSFontContext, _ iFormat: ATSFontFormat, _ iRefCon: UnsafeMutableRawPointer!, _ iOptions: ATSOptionFlags, _ oContainer: UnsafeMutablePointer<ATSFontContainerRef>!) -> OSStatus
```
