[db] fix file resolver for tfm/ofm fonts