DoAllocateResources - calls inherited method then calls GetReference.
Source position: graphics.pp line 542
protected procedure TFont.DoAllocateResources; override;