# `GSFont languagesWithLayoutRules`

*Instance Method*

Script and language tags that have layout rules in the compiled temporary font.

## Declaration

```swift
func languagesWithLayoutRules() -> [String : Set<String>]
```

```objc
- (NSDictionary<NSString *,NSSet<NSString *> *> *) languagesWithLayoutRules;
```

```python
languagesWithLayoutRules() -> dict[str, NSSet<NSString *>]
```

## Discussion

The result includes tags found in GPOS or GSUB.

## See Also

### Layout Code

- [`GSFont feaBlockForFileName:`](/Core/GlyphsCore/GSFont/feaBlockForFileName:) — Returns the FEA block (feature, class, prefix) matching the given file name.
- [`GSFont addFeaBlockForFileName:code:`](/Core/GlyphsCore/GSFont/addFeaBlockForFileName:code:) — Adds a feature block to the font, basing the type and title on the file name.

