<!--
{
  "availability" : [
    "iOS: 18.4.0 -",
    "iPadOS: 18.4.0 -",
    "macCatalyst: -",
    "macOS: 15.4.0 -",
    "tvOS: 18.4.0 -",
    "visionOS: 2.4.0 -",
    "watchOS: 11.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "hvf",
  "identifier" : "/documentation/hvf/HVGLPartLoader",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "hvf"
    ],
    "preciseIdentifier" : "s:3hvf14HVGLPartLoaderC"
  },
  "title" : "HVGLPartLoader"
}
-->

# HVGLPartLoader

Special loader object for an HVGL table in memory, which must be Double-aligned
Typically this is from a memory-mapped font

```
class HVGLPartLoader
```

## Topics

### Initializers

[`init?(hvglTable: UnsafeRawBufferPointer, hvpmTable: UnsafeRawBufferPointer?)`](/documentation/hvf/HVGLPartLoader/init(hvglTable:hvpmTable:))

Returns nil if the data is malformed or missing

### Instance Properties

[`var glyphCount: Int`](/documentation/hvf/HVGLPartLoader/glyphCount)

The number of glyphs (externally visible parts) in the hvgl table

[`var partCount: Int`](/documentation/hvf/HVGLPartLoader/partCount)

The number of parts (all parts) in the hvgl table

[`var tableVersion: (major: Int, minor: Int)`](/documentation/hvf/HVGLPartLoader/tableVersion)

The version of the hvgl table this loader supports

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)